Simple Question (Direct)
Simple Question
Q5111758
P734
Q82799
USER
Who has the surname Christophe Charles ?
(Q5111758,P734,c(Q82799))
action filter_type
action find
entity Q5111758
relation P734
type Q82799
['Q5111758', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5111758 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Christophe Charles
action filter_type
action find
entity Christophe Charles
relation family name
type name
['Christophe Charles', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Christophe_Charles property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q16865501
SYSTEM
Charles
Q16865501
(Q5111758,P734,c(Q82799))
action filter_type
action find
entity Q5111758
relation P734
type Q82799
[ANSWER] has the surname Christophe [ANSWER]
['Q5111758', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5111758 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Charles
Charles has the surname Christophe Charles
Charles
action filter_type
action find
entity Christophe Charles
relation family name
type name
['Christophe Charles', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Christophe_Charles property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5111758
P19
Q515
USER
Which city is the place of birth of Christophe Charles ?
(Q5111758,P19,c(Q515))
action filter_type
action find
entity Q5111758
relation P19
type Q515
['Q5111758', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q5111758 property:P19 ?s . ?s rdf:type ontology:Q515 }
Christophe Charles
action filter_type
action find
entity Christophe Charles
relation place of birth
type city
['Christophe Charles', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Christophe_Charles property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
city
Q34261
SYSTEM
Port-au-Prince
Q34261
(Q5111758,P19,c(Q515))
action filter_type
action find
entity Q5111758
relation P19
type Q515
Port [ANSWER] is the place of birth of Christophe Charles
['Q5111758', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q5111758 property:P19 ?s . ?s rdf:type ontology:Q515 }
Port-au-Prince
Port Port-au-Prince is the place of birth of Christophe Charles
Port-au-Prince
action filter_type
action find
entity Christophe Charles
relation place of birth
type city
['Christophe Charles', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Christophe_Charles property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2591378
Q515
USER
And what about Wolfgang Schüler?
(Q2591378,P19,c(Q515))
action filter_type
action find
entity Q2591378
relation P19
type Q515
['Q2591378', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q2591378 property:P19 ?t . ?t rdf:type ontology:Q515 }
Wolfgang Schüler
action filter_type
action find
entity Wolfgang Schüler
relation place of birth
type city
['Wolfgang Schüler', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Wolfgang_Schüler property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
city
Q2833
SYSTEM
Freiburg im Breisgau
Q2833
(Q2591378,P19,c(Q515))
action filter_type
action find
entity Q2591378
relation P19
type Q515
[ANSWER]
['Q2591378', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q2591378 property:P19 ?t . ?t rdf:type ontology:Q515 }
Freiburg im Breisgau
Freiburg im Breisgau
action filter_type
action find
entity Wolfgang Schüler
relation place of birth
type city
['Wolfgang Schüler', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Wolfgang_Schüler property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2833
P276
Q15275719 Q1269299
USER
How many recurring events or business organizations are situated at Freiburg im Breisgau ?
(c(Q15275719),P276,Q2833) (c(Q1269299),P276,Q2833)
action count
action union
action filter_type
action find_reverse
entity Q2833
relation P276
type Q15275719
action filter_type
action find_reverse
entity Q2833
relation P276
type Q1269299
[{'concept': 'Q15275719'}, 'P276', 'Q2833'] [{'concept': 'Q1269299'}, 'P276', 'Q2833']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15275719 ) ( ontology:Q1269299 ) } }
Freiburg im Breisgau
action count
action union
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation location
type recurring event
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation location
type type of business entity
[{'concept': 'recurring event'}, 'location', 'Freiburg im Breisgau'] [{'concept': 'type of business entity'}, 'location', 'Freiburg im Breisgau']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:recurring_event ) ( ontology:type_of_business_entity ) } }
[]
recurring event type of business entity
SYSTEM
3
Q1453891 Q1611765 Q451851
(c(Q15275719),P276,Q2833) (c(Q1269299),P276,Q2833)
action count
action union
action filter_type
action find_reverse
entity Q2833
relation P276
type Q15275719
action filter_type
action find_reverse
entity Q2833
relation P276
type Q1269299
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q2833'] [{'concept': 'Q1269299'}, 'P276', 'Q2833']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15275719 ) ( ontology:Q1269299 ) } }
Freiburg Film Forum Freiburg Queer Film Festival Amadeus FiRe AG
3
action count
action union
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation location
type recurring event
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation location
type type of business entity
[{'concept': 'recurring event'}, 'location', 'Freiburg im Breisgau'] [{'concept': 'type of business entity'}, 'location', 'Freiburg im Breisgau']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:recurring_event ) ( ontology:type_of_business_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q515 Q34442 Q83620
USER
How many cities are the destinations of atleast 3 roads or thoroughfares ?
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
value 3
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?m WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?m } . FILTER ( ?h >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
value 3
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?m WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?m } . FILTER ( ?h >= 3 ) }
[]
city road thoroughfare
SYSTEM
4
Q23768 Q11736 Q75110 Q14960
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
value 3
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?m WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?m } . FILTER ( ?h >= 3 ) }
Las Vegas Tianjin Dandong Brno
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
value 3
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?m WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?m } . FILTER ( ?h >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34261
P20
Q502895
USER
Which people have Port-au-Prince as the location of death ?
(c(Q502895),P20,Q34261)
action filter_type
action find_reverse
entity Q34261
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q34261']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q34261 . ?h rdf:type ontology:Q502895 }
Port-au-Prince
action filter_type
action find_reverse
entity Port-au-Prince
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Port-au-Prince']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Port-au-Prince . ?h rdf:type ontology:common_name }
[]
common name
Q711269 Q301677 Q187697
SYSTEM
Joe Gaetjens, Silvio Cator, François Duvalier
Q886426 Q555155 Q3113256 Q888818 Q557373 Q880165 Q455846 Q726744 Q3439151 Q16002951 Q3172069 Q370742 Q886451 Q2852891 Q886456 Q886454 Q3057642 Q3045950 Q18214907 Q428334 Q707178 Q2368727 Q301677 Q3401185 Q3085100 Q886457 Q3530964 Q1246510 Q353464 Q886443 Q16855485 Q6108387 Q3165387 Q3297724 Q339361 Q3652876 Q3048185 Q2636058 Q83004 Q3271119 Q3526395 Q3481042 Q886478 Q3529041 Q6794888 Q351465 Q203011 Q6937402 Q310775 Q711269 Q562463 Q16259761 Q16011067 Q585935 Q1356852 Q2980637 Q864790 Q3479434 Q6452318 Q886465 Q2928636 Q3059438 Q3084811 Q6169086 Q2893123 Q5340230 Q887391 Q3387263 Q2997372 Q15857864 Q889100 Q1508785 Q645722 Q2623995 Q3015752 Q2990316 Q470492 Q3048259 Q5546781 Q2938879 Q3425977 Q3524824 Q15992758 Q3086042 Q5863072 Q3557105 Q212068 Q4727515 Q187697 Q616264 Q286050 Q504135 Q26775751 Q1183504 Q953097 Q19317466 Q3436215 Q889091 Q886431 Q577580 Q886436 Q16021036 Q3164711 Q3166231 Q3237688 Q15046769
(c(Q502895),P20,Q34261)
action filter_type
action find_reverse
entity Q34261
relation P20
type Q502895
[ANSWERS] have Port-au-Prince as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q34261']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q34261 . ?h rdf:type ontology:Q502895 }
Nissage Saget Ludovic Lamothe Oswald Durand Daniel Fignolé Hédi Annabi Manuel Jimenes Joseph Serge Miot Marc Bazin Roger Lafontant Clément Barbot Jean Fouchard Joseph Nemours Pierre-Louis Tancrède Auguste Anthony Lespès Pierre Théoma Boisrond-Canal Cincinnatus Leconte Préfète Duffaut René Philoctète Dominique Hippolyte Georges Sylvain Paul Magloire Fernand Hibbert Silvio Cator Pradel Pompilus François Latour Florvil Hyppolite Tomás Bobadilla Mickey McLaney Alexandre Pétion Tirésias Simon Sam Charles Haentjens Ricardo Ortega Fernández Jean-Fernand Brierre Massillon Coicou Antoine Izméry Stevenson Magloire Edner Brutus Albert Roosevelt Emile Nau Leon Laleau Théodore Beaubrun Seymour Pradel Louis Eugene Roy Timoléon C. Brutus Max Hudicourt Nicolas-Joseph Thiéry de Menonville Zilda Arns Murat Brierre Jean-Claude Duvalier Joe Gaetjens Martial Célestin Édouard Antonin Tardieu Jérôme-Maximilien Borgella Antoine Craan Jacques Roumain Clément Magloire-Saint-Aude Sylvain Salnave Serge Marcil Kyra Markham Joseph Nérette Burton Chenet Etzer Vilaire Guy Malary Jean-Claude Bajeux Beaubrun Ardouin Edouard Wah Oreste Zamor Pierre Vernet Coriolan Ardouin Guy Alexandre Joseph Davilmar Théodore Georges Anglade Thomas Madiou Smarck Michel Dantès Bellegarde Roger Dorsinville Leslie Manigat Edris Saint-Amand Georges Corvington Carl Brouard René Ceuppens Thomas-Antoine de Mauduit du Plessis Thony Belizaire François Watrin Florencio Luis Parreño Victor-Therese Charpentier Jean-Jacques Dessalines Alix Pasquet François Duvalier Jean-Baptiste Riché Émile Jonassaint Jacques Nicolas Billaud-Varenne Isabel Solà i Matas Jimmy O Roussan Camille Alice Garoute Robert Saint-Brice Franck Sylvain François Denys Légitime Jean Dominique Vilbrun Guillaume Sam Ansy Derose Jean-Chrisostôme Imbert Jean-Jacques Dessalines Ambroise Liautaud Ethéart Max Beauvoir
Joe Gaetjens, Silvio Cator and François Duvalier have Port-au-Prince as the location of death
Joe Gaetjens Silvio Cator François Duvalier
action filter_type
action find_reverse
entity Port-au-Prince
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Port-au-Prince']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Port-au-Prince . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q711269 Q301677 Q187697
P20
Q515
USER
Where did the expiration of Joe Gaetjens, Silvio Cator and François Duvalier occur ?
(Q711269,P20,c(Q515)) (Q301677,P20,c(Q515)) (Q187697,P20,c(Q515))
action union
action filter_type
action find
entity Q711269
relation P20
type Q515
action filter_type
action find
entity Q301677
relation P20
type Q515
action filter_type
action find
entity Q187697
relation P20
type Q515
['Q711269', 'P20', {'concept': 'Q515'}] ['Q301677', 'P20', {'concept': 'Q515'}] ['Q187697', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q711269 ) ( resource:Q301677 ) } . ?m property:P20 ?h }
Joe Gaetjens Silvio Cator François Duvalier
action union
action filter_type
action find
entity Joe Gaetjens
relation place of death
type city
action filter_type
action find
entity Silvio Cator
relation place of death
type city
action filter_type
action find
entity François Duvalier
relation place of death
type city
['Joe Gaetjens', 'place of death', {'concept': 'city'}] ['Silvio Cator', 'place of death', {'concept': 'city'}] ['François Duvalier', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Joe_Gaetjens ) ( resource:Silvio_Cator ) } . ?m property:place_of_death ?h }
[]
city
Q34261 Q34261 Q34261
SYSTEM
Port-au-Prince
Q34261 Q34261 Q34261
(Q711269,P20,c(Q515)) (Q301677,P20,c(Q515)) (Q187697,P20,c(Q515))
action union
action filter_type
action find
entity Q711269
relation P20
type Q515
action filter_type
action find
entity Q301677
relation P20
type Q515
action filter_type
action find
entity Q187697
relation P20
type Q515
The expiration of Joe Gaetjens , Silvio Cator and François Duvalier occurred in [ANSWER], [ANSWER] and [ANSWER]
['Q711269', 'P20', {'concept': 'Q515'}] ['Q301677', 'P20', {'concept': 'Q515'}] ['Q187697', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q711269 ) ( resource:Q301677 ) } . ?m property:P20 ?h }
Port-au-Prince Port-au-Prince Port-au-Prince
The expiration of Joe Gaetjens , Silvio Cator and François Duvalier occurred in Port-au-Prince, Port-au-Prince and Port-au-Prince
Port-au-Prince Port-au-Prince Port-au-Prince
action union
action filter_type
action find
entity Joe Gaetjens
relation place of death
type city
action filter_type
action find
entity Silvio Cator
relation place of death
type city
action filter_type
action find
entity François Duvalier
relation place of death
type city
['Joe Gaetjens', 'place of death', {'concept': 'city'}] ['Silvio Cator', 'place of death', {'concept': 'city'}] ['François Duvalier', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Joe_Gaetjens ) ( resource:Silvio_Cator ) } . ?m property:place_of_death ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q187697
P35
Q13417114
USER
Which noble family is François Duvalier the head of state of ?
(c(Q13417114),P35,Q187697)
action filter_type
action find_reverse
entity Q187697
relation P35
type Q13417114
[{'concept': 'Q13417114'}, 'P35', 'Q187697']
SELECT DISTINCT ?g WHERE { ?g property:P35 resource:Q187697 . ?g rdf:type ontology:Q13417114 }
François Duvalier
action filter_type
action find_reverse
entity François Duvalier
relation head of state
type noble family
[{'concept': 'noble family'}, 'head of state', 'François Duvalier']
SELECT DISTINCT ?g WHERE { ?g property:head_of_state resource:François_Duvalier . ?g rdf:type ontology:noble_family }
[]
noble family
Q21808755
SYSTEM
Duvalier dynasty
Q21808755
(c(Q13417114),P35,Q187697)
action filter_type
action find_reverse
entity Q187697
relation P35
type Q13417114
The [ANSWER] is François Duvalier the head of state of
[{'concept': 'Q13417114'}, 'P35', 'Q187697']
SELECT DISTINCT ?g WHERE { ?g property:P35 resource:Q187697 . ?g rdf:type ontology:Q13417114 }
Duvalier dynasty
The Duvalier dynasty is François Duvalier the head of state of
Duvalier dynasty
action filter_type
action find_reverse
entity François Duvalier
relation head of state
type noble family
[{'concept': 'noble family'}, 'head of state', 'François Duvalier']
SELECT DISTINCT ?g WHERE { ?g property:head_of_state resource:François_Duvalier . ?g rdf:type ontology:noble_family }
[]