Simple Question (Direct)
Simple Question
Q2520253
P106
Q12737077
USER
Which occupations have Jaime Laredo as his/her 's career ?
(Q2520253,P106,c(Q12737077))
action filter_type
action find
entity Q2520253
relation P106
type Q12737077
['Q2520253', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2520253 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Jaime Laredo
action filter_type
action find
entity Jaime Laredo
relation occupation
type occupation
['Jaime Laredo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jaime_Laredo property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q158852 Q16145150
SYSTEM
conductor, music educator
Q158852 Q16145150
(Q2520253,P106,c(Q12737077))
action filter_type
action find
entity Q2520253
relation P106
type Q12737077
[ANSWERS] have Jaime Laredo as his/her 's career
['Q2520253', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2520253 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
conductor music educator
Conductor and music educator have Jaime Laredo as his/her 's career
conductor music educator
action filter_type
action find
entity Jaime Laredo
relation occupation
type occupation
['Jaime Laredo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jaime_Laredo property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q158852 Q16145150
P39
Q502895
USER
Who were responsible for occupying the position of conductor and music educator ?
(c(Q502895),P39,Q158852) (c(Q502895),P39,Q16145150)
action union
action filter_type
action find_reverse
entity Q158852
relation P39
type Q502895
action filter_type
action find_reverse
entity Q16145150
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q158852'] [{'concept': 'Q502895'}, 'P39', 'Q16145150']
SELECT DISTINCT ?a WHERE { { ?a property:P39 resource:Q158852 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P39 resource:Q16145150 . ?a rdf:type ontology:Q502895 } }
conductor music educator
action union
action filter_type
action find_reverse
entity conductor
relation position held
type common name
action filter_type
action find_reverse
entity music educator
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'conductor'] [{'concept': 'common name'}, 'position held', 'music educator']
SELECT DISTINCT ?a WHERE { { ?a property:position_held resource:conductor . ?a rdf:type ontology:common_name } UNION { ?a property:position_held resource:music_educator . ?a rdf:type ontology:common_name } }
[]
common name
Q3013927 Q17630884 Q17630884
SYSTEM
Jean-Paul Baumgartner for 2nd, 3rd, Daniel Deffayet for 1st
Q20828257 Q20026959 Q17630884 Q3013927 Q17630884
(c(Q502895),P39,Q158852) (c(Q502895),P39,Q16145150)
action union
action filter_type
action find_reverse
entity Q158852
relation P39
type Q502895
action filter_type
action find_reverse
entity Q16145150
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q158852'] [{'concept': 'Q502895'}, 'P39', 'Q16145150']
SELECT DISTINCT ?a WHERE { { ?a property:P39 resource:Q158852 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P39 resource:Q16145150 . ?a rdf:type ontology:Q502895 } }
Alfred Neumann Émile Bourgeois Jean-Paul Baumgartner Daniel Deffayet Jean-Paul Baumgartner
Daniel Deffayet, Jean-Paul Baumgartner and Jean-Paul Baumgartner were responsible for occupying the position of conductor and music educator
Daniel Deffayet Jean-Paul Baumgartner Jean-Paul Baumgartner
action union
action filter_type
action find_reverse
entity conductor
relation position held
type common name
action filter_type
action find_reverse
entity music educator
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'conductor'] [{'concept': 'common name'}, 'position held', 'music educator']
SELECT DISTINCT ?a WHERE { { ?a property:position_held resource:conductor . ?a rdf:type ontology:common_name } UNION { ?a property:position_held resource:music_educator . ?a rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3013927
P20
Q56061
USER
Where did the expiration of Daniel Deffayet occur ?
(Q3013927,P20,c(Q56061))
action filter_type
action find
entity Q3013927
relation P20
type Q56061
['Q3013927', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3013927 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Daniel Deffayet
action filter_type
action find
entity Daniel Deffayet
relation place of death
type administrative territorial entity
['Daniel Deffayet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Deffayet property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3013927,P20,c(Q56061))
action filter_type
action find
entity Q3013927
relation P20
type Q56061
The expiration of Daniel Deffayet occurred in [ANSWER]
['Q3013927', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3013927 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Paris
The expiration of Daniel Deffayet occurred in Paris
Paris
action filter_type
action find
entity Daniel Deffayet
relation place of death
type administrative territorial entity
['Daniel Deffayet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Deffayet property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2520253
P1066
Q502895
USER
Which person was the professor of Jaime Laredo ?
(Q2520253,P1066,c(Q502895))
action filter_type
action find
entity Q2520253
relation P1066
type Q502895
['Q2520253', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2520253 property:P1066 ?n . ?n rdf:type ontology:Q502895 }
Jaime Laredo
action filter_type
action find
entity Jaime Laredo
relation student of
type common name
['Jaime Laredo', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jaime_Laredo property:student_of ?n . ?n rdf:type ontology:common_name }
[]
common name
Q1382535
SYSTEM
Ivan Galamian
Q1382535
(Q2520253,P1066,c(Q502895))
action filter_type
action find
entity Q2520253
relation P1066
type Q502895
[ANSWER] was the professor of Jaime Laredo
['Q2520253', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2520253 property:P1066 ?n . ?n rdf:type ontology:Q502895 }
Ivan Galamian
Ivan Galamian was the professor of Jaime Laredo
Ivan Galamian
action filter_type
action find
entity Jaime Laredo
relation student of
type common name
['Jaime Laredo', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jaime_Laredo property:student_of ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P802
Q502895
USER
How many people were the teachers of that person ?
(Q1382535,P802,c(Q502895))
action count
action filter_type
action find
entity Q1382535
relation P802
type Q502895
['Q1382535', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q1382535 property:P802 ?v . ?v rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Ivan Galamian
relation student
type common name
['Ivan Galamian', 'student', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Ivan_Galamian property:student ?v . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q457425 Q346204 Q3493750 Q328532
(Q1382535,P802,c(Q502895))
action count
action filter_type
action find
entity Q1382535
relation P802
type Q502895
[ANSWER]
['Q1382535', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q1382535 property:P802 ?v . ?v rdf:type ontology:Q502895 }
Ellen Taaffe Zwilich Pinchas Zukerman Zvi Zeitlin Paul Zukofsky
4
action count
action filter_type
action find
entity Ivan Galamian
relation student
type common name
['Ivan Galamian', 'student', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Ivan_Galamian property:student ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q2235308 Q860861
USER
How many people were the persons who commissioned exactly 1 ship types and sculptures ?
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q860861 ) ( ontology:Q2235308 ) } . ?c rdf:type ?s } GROUP BY ?x } . FILTER ( ?g = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
value 1
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?x WHERE { VALUES ( ?s ) { ( ontology:sculpture ) ( ontology:ship_type ) } . ?c rdf:type ?s } GROUP BY ?x } . FILTER ( ?g = 1 ) }
[]
common name ship type sculpture
SYSTEM
5
Q1066012 Q450160 Q3048511 Q6138693 Q19837
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q860861 ) ( ontology:Q2235308 ) } . ?c rdf:type ?s } GROUP BY ?x } . FILTER ( ?g = 1 ) }
Charles Saatchi Marjorie Merriweather Post Edward Francis Hutton James Mackay, 1st Earl of Inchcape Steve Jobs
5
action count
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
value 1
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?x WHERE { VALUES ( ?s ) { ( ontology:sculpture ) ( ontology:ship_type ) } . ?c rdf:type ?s } GROUP BY ?x } . FILTER ( ?g = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q325520 Q3013927
P19
Q56061
USER
Which administrative territories are the birthplace of Daniel Deffayet or Paul Siple ?
OR((Q3013927,P19,c(Q56061)), (Q325520,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3013927
relation P19
action find
entity Q325520
relation P19
type Q56061
{'OR': [['Q3013927', 'P19', {'concept': 'Q56061'}], ['Q325520', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q3013927 property:P19 ?w } UNION { resource:Q325520 property:P19 ?w } } }
Paul Siple Daniel Deffayet
action filter_type
action union
action find
entity Daniel Deffayet
relation place of birth
action find
entity Paul Siple
relation place of birth
type administrative territorial entity
{'OR': [['Daniel Deffayet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Siple', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:Daniel_Deffayet property:place_of_birth ?w } UNION { resource:Paul_Siple property:place_of_birth ?w } } }
[]
administrative territorial entity
Q1812567 Q90
SYSTEM
Montpelier, Paris
Q1812567 Q90
OR((Q3013927,P19,c(Q56061)), (Q325520,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3013927
relation P19
action find
entity Q325520
relation P19
type Q56061
[ANSWERS] are the birthplace of Daniel Deffayet or Paul Siple
{'OR': [['Q3013927', 'P19', {'concept': 'Q56061'}], ['Q325520', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q3013927 property:P19 ?w } UNION { resource:Q325520 property:P19 ?w } } }
Montpelier Paris
Montpelier and Paris are the birthplace of Daniel Deffayet or Paul Siple
Montpelier Paris
action filter_type
action union
action find
entity Daniel Deffayet
relation place of birth
action find
entity Paul Siple
relation place of birth
type administrative territorial entity
{'OR': [['Daniel Deffayet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Siple', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:Daniel_Deffayet property:place_of_birth ?w } UNION { resource:Paul_Siple property:place_of_birth ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P937
Q82799 Q2088357
USER
How many names and musical ensembles have Paris as work location ?
(c(Q82799),P937,Q90) (c(Q2088357),P937,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P937
type Q82799
action filter_type
action find_reverse
entity Q90
relation P937
type Q2088357
[{'concept': 'Q82799'}, 'P937', 'Q90'] [{'concept': 'Q2088357'}, 'P937', 'Q90']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:Q82799 ) ( ontology:Q2088357 ) } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation work location
type name
action filter_type
action find_reverse
entity Paris
relation work location
type musical ensemble
[{'concept': 'name'}, 'work location', 'Paris'] [{'concept': 'musical ensemble'}, 'work location', 'Paris']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:name ) ( ontology:musical_ensemble ) } }
[]
name musical ensemble
SYSTEM
29 names and 1 musical ensembles
Q744415 Q893251 Q15967018 Q1305168 Q1918673 Q15967017 Q2070677 Q23900700 Q1444014 Q29609 Q1261904 Q1117756 Q1918551 Q726437 Q23904668 Q5453255 Q1918339 Q21664470 Q19945143 Q3013292 Q23773415 Q1918335 Q894982 Q19629538 Q21623611 Q1341777 Q20824700 Q1918347 Q1918540 Q19955927
(c(Q82799),P937,Q90) (c(Q2088357),P937,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P937
type Q82799
action filter_type
action find_reverse
entity Q90
relation P937
type Q2088357
[ANSWER]
[{'concept': 'Q82799'}, 'P937', 'Q90'] [{'concept': 'Q2088357'}, 'P937', 'Q90']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:Q82799 ) ( ontology:Q2088357 ) } }
Rohan Master Master of the Boqueteaux Luçon Master Mazarine Master Meister von Coëtivy Maître François Master of the Parement Master of the Coronation of the Virgin Orosius Master Master of Egerton Master of Guy de Laval Meister der Münchner Legenda Aurea Master of Jacques de Besançon Bedford Master Master of the Petrarch Triumphs First Master of the Bible Historiale of Jean de Berry Master of the Brussels Initials Maître d'Étienne Poncher Master of the Paris Entries Danakil Master of Berry’s Cleres Femmes Master of the Berry Apocalypse Master of Boucicaut Maître de Jacques de Luxembourg Maître de Philippe de Gueldre Master of Jean Rolin II Maître du Cardinal de Bourbon Master of the City of Ladies Master of the Harvard Hannibal Master of François de Rohan
29 names and 1 musical ensembles
action count
action union
action filter_type
action find_reverse
entity Paris
relation work location
type name
action filter_type
action find_reverse
entity Paris
relation work location
type musical ensemble
[{'concept': 'name'}, 'work location', 'Paris'] [{'concept': 'musical ensemble'}, 'work location', 'Paris']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:name ) ( ontology:musical_ensemble ) } }
[]