Simple Question (Direct)
Simple Question
Q16026089
P39
Q12737077
USER
Which occupations were the positions for which Pierre Merle were appointed ?
(Q16026089,P39,c(Q12737077))
action filter_type
action find
entity Q16026089
relation P39
type Q12737077
['Q16026089', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16026089 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Pierre Merle
action filter_type
action find
entity Pierre Merle
relation position held
type occupation
['Pierre Merle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Pierre_Merle property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q16026089,P39,c(Q12737077))
action filter_type
action find
entity Q16026089
relation P39
type Q12737077
[ANSWERS]
['Q16026089', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16026089 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions for which Pierre Merle were appointed
maire member of the French National Assembly
action filter_type
action find
entity Pierre Merle
relation position held
type occupation
['Pierre Merle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Pierre_Merle property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P106
Q502895
USER
Which person has career as member of the French National Assembly ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P106 resource:Q3044918 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:occupation resource:member_of_the_French National_Assembly }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWER] has career as member of the French National Assembly
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P106 resource:Q3044918 }
François Thibault de Ménonville
François Thibault de Ménonville has career as member of the French National Assembly
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:occupation resource:member_of_the_French National_Assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085896
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q3085896,P27,c(Q15617994))
action filter_type
action find
entity Q3085896
relation P27
type Q15617994
['Q3085896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q3085896 property:P27 ?q }
François Thibault de Ménonville
action filter_type
action find
entity François Thibault de Ménonville
relation country of citizenship
type designation for an administrative territorial entity
['François Thibault de Ménonville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:François_Thibault_de_Ménonville property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3085896,P27,c(Q15617994))
action filter_type
action find
entity Q3085896
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q3085896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q3085896 property:P27 ?q }
France
The France is that person a civilian of
France
action filter_type
action find
entity François Thibault de Ménonville
relation country of citizenship
type designation for an administrative territorial entity
['François Thibault de Ménonville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:François_Thibault_de_Ménonville property:country_of_citizenship ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085896
P463
Q1269299
USER
Which business organization had François Thibault de Ménonville as its member ?
(Q3085896,P463,c(Q1269299))
action filter_type
action find
entity Q3085896
relation P463
type Q1269299
['Q3085896', 'P463', {'concept': 'Q1269299'}]
SELECT DISTINCT ?g WHERE { resource:Q3085896 property:P463 ?g . ?g rdf:type ontology:Q1269299 }
François Thibault de Ménonville
action filter_type
action find
entity François Thibault de Ménonville
relation member of
type type of business entity
['François Thibault de Ménonville', 'member of', {'concept': 'type of business entity'}]
SELECT DISTINCT ?g WHERE { resource:François_Thibault_de_Ménonville property:member_of ?g . ?g rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q26760331
SYSTEM
Société des Cincinnati de France
Q26760331
(Q3085896,P463,c(Q1269299))
action filter_type
action find
entity Q3085896
relation P463
type Q1269299
[ANSWER] had François Thibault de Ménonville as its member
['Q3085896', 'P463', {'concept': 'Q1269299'}]
SELECT DISTINCT ?g WHERE { resource:Q3085896 property:P463 ?g . ?g rdf:type ontology:Q1269299 }
Société des Cincinnati de France
Société des Cincinnati de France had François Thibault de Ménonville as its member
Société des Cincinnati de France
action filter_type
action find
entity François Thibault de Ménonville
relation member of
type type of business entity
['François Thibault de Ménonville', 'member of', {'concept': 'type of business entity'}]
SELECT DISTINCT ?g WHERE { resource:François_Thibault_de_Ménonville property:member_of ?g . ?g rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085896
P21
Q290
USER
Which sex does that person belong to ?
(Q26760331,P21,c(Q290))
action filter_type
action find
entity Q3085896
relation P21
type Q290
['Q26760331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3085896 property:P21 ?h . ?h rdf:type ontology:Q290 }
François Thibault de Ménonville
action filter_type
action find
entity François Thibault de Ménonville
relation gender
type sex
['Société des Cincinnati de France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:François_Thibault_de_Ménonville property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q26760331,P21,c(Q290))
action filter_type
action find
entity Q3085896
relation P21
type Q290
That person belongs to [ANSWER]
['Q26760331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3085896 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity François Thibault de Ménonville
relation gender
type sex
['Société des Cincinnati de France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:François_Thibault_de_Ménonville property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as their type ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P136 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:genre resource:male }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as their type
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P136 resource:Q6581097 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as their type
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:genre resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q313288 Q27691569
P27
Q15617994
USER
How many administrative territories are Augustus Pugin or Janine M. Otalora Malassis an inhabitant of ?
(Q313288,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q313288
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
['Q313288', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { VALUES ( ?q ) { ( resource:Q27691569 ) ( resource:Q313288 ) } . ?q property:P27 ?n }
Augustus Pugin Janine M. Otalora Malassis
action count
action union
action filter_type
action find
entity Augustus Pugin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Augustus Pugin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { VALUES ( ?q ) { ( resource:Janine_M._Otalora_Malassis ) ( resource:Augustus_Pugin ) } . ?q property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
SYSTEM
2
Q96 Q145
(Q313288,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q313288
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
[ANSWER]
['Q313288', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { VALUES ( ?q ) { ( resource:Q27691569 ) ( resource:Q313288 ) } . ?q property:P27 ?n }
Mexico United Kingdom
2
action count
action union
action filter_type
action find
entity Augustus Pugin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Augustus Pugin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { VALUES ( ?q ) { ( resource:Janine_M._Otalora_Malassis ) ( resource:Augustus_Pugin ) } . ?q property:country_of_citizenship ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q313288
P84
Q44539
USER
How many temples have their designs created by Augustus Pugin ?
(c(Q44539),P84,Q313288)
action count
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q313288']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P84 resource:Q313288 . ?b rdf:type ontology:Q44539 }
Augustus Pugin
action count
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:architect resource:Augustus_Pugin . ?b rdf:type ontology:temple }
[]
temple
SYSTEM
11
Q5385292 Q18708785 Q7593468 Q7110746 Q7595022 Q7085076 Q15979465 Q7590105 Q7594312 Q17183220 Q7592239
(c(Q44539),P84,Q313288)
action count
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q313288']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P84 resource:Q313288 . ?b rdf:type ontology:Q44539 }
Erdington Abbey St Joseph Church, Southampton St James's Church, Reading Our Lady and St. Wilfrid's Roman Catholic church, Warwick Bridge St Oswald's Church, Winwick Old St Peter and St Paul's Church, Albury St Oswald's Church, Old Swan, Liverpool St. Mary's Catholic Church, Uttoxeter St Mary's Church, Derby St John the Evangelist's Church, Kirkham St Alban's Church, Macclesfield
11
action count
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:architect resource:Augustus_Pugin . ?b rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3162032
P84
Q44539
USER
And what about Janja Mihailović?
(c(Q44539),P84,Q3162032)
action count
action filter_type
action find_reverse
entity Q3162032
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q3162032']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P84 resource:Q3162032 . ?m rdf:type ontology:Q44539 }
Janja Mihailović
action count
action filter_type
action find_reverse
entity Janja Mihailović
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Janja Mihailović']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:architect resource:Janja_Mihailović . ?m rdf:type ontology:temple }
[]
temple
SYSTEM
1
Q3584203
(c(Q44539),P84,Q3162032)
action count
action filter_type
action find_reverse
entity Q3162032
relation P84
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q3162032']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P84 resource:Q3162032 . ?m rdf:type ontology:Q44539 }
Church of the Holy Apostles Peter and Paul
1
action count
action filter_type
action find_reverse
entity Janja Mihailović
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Janja Mihailović']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:architect resource:Janja_Mihailović . ?m rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P123
Q166142 Q2342494
USER
How many applications and collectables were released by France ?
(c(Q166142),P123,Q142) (c(Q2342494),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { ?s rdf:type ontology:Q166142 . ?s property:P123 resource:Q142 } UNION { ?s property:P123 resource:Q142 . ?s rdf:type ontology:Q2342494 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type application
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { ?s rdf:type ontology:application . ?s property:publisher resource:France } UNION { ?s property:publisher resource:France . ?s rdf:type ontology:collectable } }
[]
application collectable
SYSTEM
2 applications and 1 collectables
Q1165469 Q22338335 Q3038553
(c(Q166142),P123,Q142) (c(Q2342494),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[ANSWER]
[{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { ?s rdf:type ontology:Q166142 . ?s property:P123 resource:Q142 } UNION { ?s property:P123 resource:Q142 . ?s rdf:type ontology:Q2342494 } }
Post Mortem Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX Dracula: Origin
2 applications and 1 collectables
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type application
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { ?s rdf:type ontology:application . ?s property:publisher resource:France } UNION { ?s property:publisher resource:France . ?s rdf:type ontology:collectable } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?p } GROUP BY ?p } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 . ?c property:P1303 ?z } GROUP BY ?z } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?p } GROUP BY ?p } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument . ?c property:instrument ?z } GROUP BY ?z } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?p } GROUP BY ?p } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 . ?c property:P1303 ?z } GROUP BY ?z } } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?p } GROUP BY ?p } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument . ?c property:instrument ?z } GROUP BY ?z } } }
[]