Simple Question (Direct)
Simple Question
Q948208
P20
Q20667921
USER
Where did Hugh of Vermandois die ?
(Q948208,P20,c(Q20667921))
action filter_type
action find
entity Q948208
relation P20
type Q20667921
['Q948208', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q948208 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Hugh of Vermandois
action filter_type
action find
entity Hugh of Vermandois
relation place of death
type type of french administrative division
['Hugh of Vermandois', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Hugh_of_Vermandois property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q207620
SYSTEM
Meaux
Q207620
(Q948208,P20,c(Q20667921))
action filter_type
action find
entity Q948208
relation P20
type Q20667921
[ANSWER]
['Q948208', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q948208 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Meaux
Meaux
action filter_type
action find
entity Hugh of Vermandois
relation place of death
type type of french administrative division
['Hugh of Vermandois', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Hugh_of_Vermandois property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q948208
P9
Q502895
USER
Who are the sisters of that one ?
(Q207620,P9,c(Q502895))
action filter_type
action find
entity Q948208
relation P9
type Q502895
['Q207620', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q948208 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Hugh of Vermandois
action filter_type
action find
entity Hugh of Vermandois
relation sister
type common name
['Meaux', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Hugh_of_Vermandois property:sister ?h . ?h rdf:type ontology:common_name }
[]
common name
Q506720 Q1811439
SYSTEM
Adele of Vermandois, Luitgarde of Vermandois
Q506720 Q1811439
(Q207620,P9,c(Q502895))
action filter_type
action find
entity Q948208
relation P9
type Q502895
[ANSWERS]
['Q207620', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q948208 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Adele of Vermandois Luitgarde of Vermandois
Adele of Vermandois Luitgarde of Vermandois
action filter_type
action find
entity Hugh of Vermandois
relation sister
type common name
['Meaux', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Hugh_of_Vermandois property:sister ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are located next to exactly 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?t WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?t WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
body of water waterway type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?t WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?t WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q506720
P22
Q502895
USER
How many people were the father of Adele of Vermandois ?
(Q506720,P22,c(Q502895))
action count
action filter_type
action find
entity Q506720
relation P22
type Q502895
['Q506720', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q506720 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Adele of Vermandois
action count
action filter_type
action find
entity Adele of Vermandois
relation father
type common name
['Adele of Vermandois', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Adele_of_Vermandois property:father ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q513843
(Q506720,P22,c(Q502895))
action count
action filter_type
action find
entity Q506720
relation P22
type Q502895
[ANSWER]
['Q506720', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q506720 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Herbert II, Count of Vermandois
1
action count
action filter_type
action find
entity Adele of Vermandois
relation father
type common name
['Adele of Vermandois', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Adele_of_Vermandois property:father ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15240676
P21
Q290
USER
What is the sex of Vidyullekha Raman ?
(Q15240676,P21,c(Q290))
action filter_type
action find
entity Q15240676
relation P21
type Q290
['Q15240676', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q15240676 property:P21 ?i . ?i rdf:type ontology:Q290 }
Vidyullekha Raman
action filter_type
action find
entity Vidyullekha Raman
relation gender
type sex
['Vidyullekha Raman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Vidyullekha_Raman property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q15240676,P21,c(Q290))
action filter_type
action find
entity Q15240676
relation P21
type Q290
[ANSWER]
['Q15240676', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q15240676 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Vidyullekha Raman
relation gender
type sex
['Vidyullekha Raman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Vidyullekha_Raman property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15240676
P22
Q502895
USER
Which person was the father of Vidyullekha Raman ?
(Q15240676,P22,c(Q502895))
action filter_type
action find
entity Q15240676
relation P22
type Q502895
['Q15240676', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15240676 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Vidyullekha Raman
action filter_type
action find
entity Vidyullekha Raman
relation father
type common name
['Vidyullekha Raman', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Vidyullekha_Raman property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6893613
SYSTEM
Mohan Raman
Q6893613
(Q15240676,P22,c(Q502895))
action filter_type
action find
entity Q15240676
relation P22
type Q502895
[ANSWER]
['Q15240676', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15240676 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Mohan Raman
Mohan Raman
action filter_type
action find
entity Vidyullekha Raman
relation father
type common name
['Vidyullekha Raman', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Vidyullekha_Raman property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207620
P47
Q20667921
USER
Which french administrative divisions have a shared border with Meaux ?
(Q207620,P47,c(Q20667921))
action filter_type
action find
entity Q207620
relation P47
type Q20667921
['Q207620', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q207620 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Meaux
action filter_type
action find
entity Meaux
relation shares border with
type type of french administrative division
['Meaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Meaux property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q271227 Q267551 Q1614305
SYSTEM
Chauconin-Neufmontiers, Trilport, Chambry
Q267551 Q1460057 Q1459731 Q899636 Q544304 Q1614305 Q1456243 Q271227 Q1422234
(Q207620,P47,c(Q20667921))
action filter_type
action find
entity Q207620
relation P47
type Q20667921
[ANSWERS]
['Q207620', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q207620 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Trilport Mareuil-lès-Meaux Nanteuil-lès-Meaux Poincy Fublaines Chambry Villenoy Chauconin-Neufmontiers Crégy-lès-Meaux
Chauconin-Neufmontiers Trilport Chambry
action filter_type
action find
entity Meaux
relation shares border with
type type of french administrative division
['Meaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Meaux property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207620
P1376
Q20667921
USER
Which french administrative divisions have Meaux have their first city ?
(Q207620,P1376,c(Q20667921))
action filter_type
action find
entity Q207620
relation P1376
type Q20667921
['Q207620', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q207620 property:P1376 ?d . ?d rdf:type ontology:Q20667921 }
Meaux
action filter_type
action find
entity Meaux
relation capital of
type type of french administrative division
['Meaux', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Meaux property:capital_of ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1574656 Q1574647
SYSTEM
canton of Meaux-Sud, canton of Meaux-Nord
Q1574656 Q1574647
(Q207620,P1376,c(Q20667921))
action filter_type
action find
entity Q207620
relation P1376
type Q20667921
[ANSWERS]
['Q207620', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q207620 property:P1376 ?d . ?d rdf:type ontology:Q20667921 }
canton of Meaux-Sud canton of Meaux-Nord
canton of Meaux-Sud canton of Meaux-Nord
action filter_type
action find
entity Meaux
relation capital of
type type of french administrative division
['Meaux', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Meaux property:capital_of ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]