Simple Question (Direct)
Simple Question
Q2185316
P106
Q12737077
USER
Which occupation is the profession of Paul Nortan ?
(Q2185316,P106,c(Q12737077))
action filter_type
action find
entity Q2185316
relation P106
type Q12737077
['Q2185316', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2185316 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Paul Nortan
action filter_type
action find
entity Paul Nortan
relation occupation
type occupation
['Paul Nortan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Nortan property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2185316,P106,c(Q12737077))
action filter_type
action find
entity Q2185316
relation P106
type Q12737077
Player [ANSWER] is the profession of Paul Nortan
['Q2185316', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2185316 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Paul Nortan
association football player
action filter_type
action find
entity Paul Nortan
relation occupation
type occupation
['Paul Nortan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Nortan property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2185316
P19
Q56061
USER
Which administrative territory is the birthplace of Paul Nortan ?
(Q2185316,P19,c(Q56061))
action filter_type
action find
entity Q2185316
relation P19
type Q56061
['Q2185316', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q2185316 property:P19 ?j }
Paul Nortan
action filter_type
action find
entity Paul Nortan
relation place of birth
type administrative territorial entity
['Paul Nortan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Paul_Nortan property:place_of_birth ?j }
[]
administrative territorial entity
Q3001
SYSTEM
Paramaribo
Q3001
(Q2185316,P19,c(Q56061))
action filter_type
action find
entity Q2185316
relation P19
type Q56061
Is [ANSWER] is the birthplace of Paul Nortan
['Q2185316', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q2185316 property:P19 ?j }
Paramaribo
Is Paramaribo is the birthplace of Paul Nortan
Paramaribo
action filter_type
action find
entity Paul Nortan
relation place of birth
type administrative territorial entity
['Paul Nortan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Paul_Nortan property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3001
P190
Q56061
USER
Which administrative territory is the sister city of that one ?
(Q3001,P190,c(Q56061))
action filter_type
action find
entity Q3001
relation P190
type Q56061
['Q3001', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3001 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Paramaribo
action filter_type
action find
entity Paramaribo
relation sister city
type administrative territorial entity
['Paramaribo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Paramaribo property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12892
SYSTEM
Antwerp
Q12892
(Q3001,P190,c(Q56061))
action filter_type
action find
entity Q3001
relation P190
type Q56061
[ANSWER] is the sister city of that one
['Q3001', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3001 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Antwerp
Antwerp is the sister city of that one
Antwerp
action filter_type
action find
entity Paramaribo
relation sister city
type administrative territorial entity
['Paramaribo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Paramaribo property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q181886
Q56061
USER
And also tell me about Châteaudun?
(Q181886,P190,c(Q56061))
action filter_type
action find
entity Q181886
relation P190
type Q56061
['Q181886', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q181886 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Châteaudun
action filter_type
action find
entity Châteaudun
relation sister city
type administrative territorial entity
['Châteaudun', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Châteaudun property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2936979 Q673662
SYSTEM
Cap-de-la-Madeleine, Arklow
Q2936979 Q673662
(Q181886,P190,c(Q56061))
action filter_type
action find
entity Q181886
relation P190
type Q56061
[ANSWERS]
['Q181886', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q181886 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Cap-de-la-Madeleine Arklow
Cap-de-la-Madeleine Arklow
action filter_type
action find
entity Châteaudun
relation sister city
type administrative territorial entity
['Châteaudun', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Châteaudun property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181886
P36
Q13220204
USER
Which administrative country subdivision is that french administrative division the capital of ?
(c(Q13220204),P36,Q2936979) (c(Q13220204),P36,Q673662)
action filter_type
action find_reverse
entity Q181886
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q2936979'] [{'concept': 'Q13220204'}, 'P36', 'Q673662']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q13220204 . ?p property:P36 resource:Q181886 }
Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Cap-de-la-Madeleine'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Arklow']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:second-level_administrative_country_subdivision . ?p property:capital resource:Châteaudun }
[]
second-level administrative country subdivision
Q700981
SYSTEM
arrondissement of Châteaudun
Q700981
(c(Q13220204),P36,Q2936979) (c(Q13220204),P36,Q673662)
action filter_type
action find_reverse
entity Q181886
relation P36
type Q13220204
The [ANSWER] is that french administrative division the capital of
[{'concept': 'Q13220204'}, 'P36', 'Q2936979'] [{'concept': 'Q13220204'}, 'P36', 'Q673662']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q13220204 . ?p property:P36 resource:Q181886 }
arrondissement of Châteaudun
The arrondissement of Châteaudun is that french administrative division the capital of
arrondissement of Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Cap-de-la-Madeleine'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Arklow']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:second-level_administrative_country_subdivision . ?p property:capital resource:Châteaudun }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q181886
P19
Q502895
USER
How many people were born at Châteaudun ?
(c(Q502895),P19,Q181886)
action count
action filter_type
action find_reverse
entity Q181886
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q181886']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q181886 }
Châteaudun
action count
action filter_type
action find_reverse
entity Châteaudun
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Châteaudun']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Châteaudun }
[]
common name
SYSTEM
43
Q15968646 Q19630176 Q363382 Q3047932 Q18214798 Q17485831 Q19829722 Q2836207 Q3169281 Q2830345 Q524331 Q3121570 Q3086637 Q3368903 Q2871304 Q3387131 Q18907346 Q18214892 Q15969323 Q3167925 Q3132957 Q2958613 Q3158073 Q3271639 Q3172370 Q3047520 Q2757756 Q380885 Q5755446 Q16265399 Q20851353 Q3015159 Q18603073 Q3131470 Q3592169 Q3518885 Q2476960 Q3092585 Q3026951 Q3132162 Q1237191 Q3484500 Q27070471
(c(Q502895),P19,Q181886)
action count
action filter_type
action find_reverse
entity Q181886
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q181886']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q181886 }
Jean-Baptiste Guillaume Busson Pierre Lyautey Romain Feillu Edmond Modeste Lescarbault Gabriel Boisguyon André Auville Henri Toutin Ali El-Omari Jean-Pierre Ferrière Alain Venot Pierre Guédron Guy Boissière Francoise d'Orléans-Longueville Patrice Caumon Auguste Marceau Pierre Toufaire Samuel Nalot Lionel Hénault Jules Raimbault-Courtin Jean-Michel-Marguerite de Laforge Henry Merlin Charles Brennus Jacques-Valère Clément Léonce de Tarragon Jean Grancolas Edgard Boutaric Christophe Lavainne Brice Feillu Auguste Nicolas Gendrin Françoise Pinsard Bruno Konczylo Danièle Pourtaud Michel Mercier Henri Lefèvre Étienne François Girard Terry Bouhraoua Nicolas Chaperon Félix Raimbert-Sévin Didier Cassegrain Henri Villain Bertrand Visage Simon de Phares Antoine de La Faye
43
action count
action filter_type
action find_reverse
entity Châteaudun
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Châteaudun']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Châteaudun }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181886
P138
Q34442
USER
Which road has that french administrative division as its namesake ?
action filter_type
action find_reverse
entity Q181886
relation P138
type Q34442
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q181886 . ?t rdf:type ontology:Q34442 }
Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation named after
type road
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Châteaudun . ?t rdf:type ontology:road }
[]
road
Q3450663
SYSTEM
rue de Châteaudun
Q3450663
action filter_type
action find_reverse
entity Q181886
relation P138
type Q34442
[ANSWER] has that french administrative division as its namesake
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q181886 . ?t rdf:type ontology:Q34442 }
rue de Châteaudun
Rue de Châteaudun has that french administrative division as its namesake
rue de Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation named after
type road
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Châteaudun . ?t rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181886
P551
Q502895
USER
Who lives in Châteaudun ?
(c(Q502895),P551,Q181886)
action filter_type
action find_reverse
entity Q181886
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q181886']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q181886 . ?e rdf:type ontology:Q502895 }
Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Châteaudun']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Châteaudun . ?e rdf:type ontology:common_name }
[]
common name
Q23759804
SYSTEM
Geoffrey VI, Viscount of Châteaudun
Q23759804
(c(Q502895),P551,Q181886)
action filter_type
action find_reverse
entity Q181886
relation P551
type Q502895
[ANSWER] lives in Châteaudun
[{'concept': 'Q502895'}, 'P551', 'Q181886']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q181886 . ?e rdf:type ontology:Q502895 }
Geoffrey VI, Viscount of Châteaudun
Geoffrey VI, Viscount of Châteaudun lives in Châteaudun
Geoffrey VI, Viscount of Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Châteaudun']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Châteaudun . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23759804
P21
Q290
USER
What is the sex of that person ?
(Q23759804,P21,c(Q290))
action filter_type
action find
entity Q23759804
relation P21
type Q290
['Q23759804', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q23759804 property:P21 ?x . ?x rdf:type ontology:Q290 }
Geoffrey VI, Viscount of Châteaudun
action filter_type
action find
entity Geoffrey VI, Viscount of Châteaudun
relation gender
type sex
['Geoffrey VI, Viscount of Châteaudun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Geoffrey_VI,_Viscount_of_Châteaudun property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q23759804,P21,c(Q290))
action filter_type
action find
entity Q23759804
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q23759804', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q23759804 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Geoffrey VI, Viscount of Châteaudun
relation gender
type sex
['Geoffrey VI, Viscount of Châteaudun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Geoffrey_VI,_Viscount_of_Châteaudun property:gender ?x . ?x rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q34442 Q83620 Q34442
USER
Which roads are the endpoints for min number of thoroughfares or roads ?
(c(Q83620)|c(Q34442),P559,c(Q34442))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q83620
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?x = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P559 ?o . ?o rdf:type ontology:Q34442 . ?t rdf:type ontology:Q34442 } UNION { ?t property:P559 ?o . ?o rdf:type ontology:Q34442 . ?t rdf:type ontology:Q83620 } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?c ) AS ?y ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P559 ?b . ?b rdf:type ontology:Q34442 . ?m rdf:type ontology:Q83620 } UNION { ?b rdf:type ontology:Q34442 . ?m rdf:type ontology:Q34442 . ?m property:P559 ?b } } GROUP BY ?b } } }
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type road
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type road
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?x = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:terminus ?o . ?o rdf:type ontology:road . ?t rdf:type ontology:road } UNION { ?t property:terminus ?o . ?o rdf:type ontology:road . ?t rdf:type ontology:thoroughfare } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?c ) AS ?y ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:terminus ?b . ?b rdf:type ontology:road . ?m rdf:type ontology:thoroughfare } UNION { ?b rdf:type ontology:road . ?m rdf:type ontology:road . ?m property:terminus ?b } } GROUP BY ?b } } }
[]
road thoroughfare road
Q5516746 Q10562547 Q7332356
SYSTEM
Gaffelgränd, Lindhagensgatan, Riddarhusgränd
Q7332356 Q10647909 Q1868632 Q2473140 Q10658680 Q10593269 Q15887872 Q7827465 Q5471839 Q2512118 Q4566595 Q10720671 Q10496019 Q14178229 Q10546047 Q15724451 Q5516746 Q6915592 Q15273336 Q19353548 Q10562547 Q15724420 Q10705660 Q10522357 Q19207445 Q7541447 Q6319999 Q17881239 Q19519956 Q10573026
(c(Q83620)|c(Q34442),P559,c(Q34442))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q83620
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
[ANSWERS] are the endpoints for min number of thoroughfares or roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?x = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P559 ?o . ?o rdf:type ontology:Q34442 . ?t rdf:type ontology:Q34442 } UNION { ?t property:P559 ?o . ?o rdf:type ontology:Q34442 . ?t rdf:type ontology:Q83620 } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?c ) AS ?y ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P559 ?b . ?b rdf:type ontology:Q34442 . ?m rdf:type ontology:Q83620 } UNION { ?b rdf:type ontology:Q34442 . ?m rdf:type ontology:Q34442 . ?m property:P559 ?b } } GROUP BY ?b } } }
Riddarhusgränd Pålsundsgatan N260 road N251 road Rådmansgatan Mäster Samuelsgatan Berliner Ring Torvegade Fort Pitt Boulevard Nassausingel Baggensgatan Wrangelska backen Fjällgatan N252 road Klara västra kyrkogata Aegidienberger Straße Gaffelgränd Mosebacke Rosia Road Neherkade Lindhagensgatan Am Honnefer Kreuz Trångsund Herkulesgatan Groesbeekseweg Slottskajen Järntorgsgatan Doktor Allards gata Sluiskade Lützengatan
Gaffelgränd, Lindhagensgatan and Riddarhusgränd are the endpoints for min number of thoroughfares or roads
Gaffelgränd Lindhagensgatan Riddarhusgränd
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type road
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type road
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?x = ?y ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:terminus ?o . ?o rdf:type ontology:road . ?t rdf:type ontology:road } UNION { ?t property:terminus ?o . ?o rdf:type ontology:road . ?t rdf:type ontology:thoroughfare } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?c ) AS ?y ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:terminus ?b . ?b rdf:type ontology:road . ?m rdf:type ontology:thoroughfare } UNION { ?b rdf:type ontology:road . ?m rdf:type ontology:road . ?m property:terminus ?b } } GROUP BY ?b } } }
[]