Simple Question (Direct)
Simple Question
Q2829496
P21
Q290
USER
Which sex does Alain-Jacques Tornare belong to ?
(Q2829496,P21,c(Q290))
action filter_type
action find
entity Q2829496
relation P21
type Q290
['Q2829496', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q2829496 property:P21 ?f }
Alain-Jacques Tornare
action filter_type
action find
entity Alain-Jacques Tornare
relation gender
type sex
['Alain-Jacques Tornare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Alain-Jacques_Tornare property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2829496,P21,c(Q290))
action filter_type
action find
entity Q2829496
relation P21
type Q290
Alain-Jacques Tornare belongs til [ANSWER]
['Q2829496', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q2829496 property:P21 ?f }
male
Alain-Jacques Tornare belongs til male
male
action filter_type
action find
entity Alain-Jacques Tornare
relation gender
type sex
['Alain-Jacques Tornare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Alain-Jacques_Tornare property:gender ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2829496
P106
Q12737077
USER
What is the job of Alain-Jacques Tornare ?
(Q2829496,P106,c(Q12737077))
action filter_type
action find
entity Q2829496
relation P106
type Q12737077
['Q2829496', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2829496 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Alain-Jacques Tornare
action filter_type
action find
entity Alain-Jacques Tornare
relation occupation
type occupation
['Alain-Jacques Tornare', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Alain-Jacques_Tornare property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q2829496,P106,c(Q12737077))
action filter_type
action find
entity Q2829496
relation P106
type Q12737077
The job of Alain-Jacques Tornare is a [ANSWER]
['Q2829496', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2829496 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
historian
The job of Alain-Jacques Tornare is a historian
historian
action filter_type
action find
entity Alain-Jacques Tornare
relation occupation
type occupation
['Alain-Jacques Tornare', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Alain-Jacques_Tornare property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5083052
Q12737077
USER
And also tell me about Charles Turner?
(Q5083052,P106,c(Q12737077))
action filter_type
action find
entity Q5083052
relation P106
type Q12737077
['Q5083052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5083052 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Charles Turner
action filter_type
action find
entity Charles Turner
relation occupation
type occupation
['Charles Turner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Turner property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q683754 Q329439
SYSTEM
draughtsman, engraver
Q683754 Q329439
(Q5083052,P106,c(Q12737077))
action filter_type
action find
entity Q5083052
relation P106
type Q12737077
[ANSWERS]
['Q5083052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5083052 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
draughtsman engraver
draughtsman engraver
action filter_type
action find
entity Charles Turner
relation occupation
type occupation
['Charles Turner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Turner property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q933005
P106
Q502895
USER
Do Augustin Coppens have a job as those occupations ?
(Q933005,P106,Q683754) (Q933005,P106,Q329439)
action is_in
entity prev_answer
action find
entity Q933005
relation P106
['Q933005', 'P106', 'Q683754'] ['Q933005', 'P106', 'Q329439']
ASK WHERE { resource:Q933005 property:P106 ?v . VALUES ( ?v ) { ( resource:Q683754 ) ( resource:Q329439 ) } }
Augustin Coppens
action is_in
entity prev_answer
action find
entity Augustin Coppens
relation occupation
['Augustin Coppens', 'occupation', 'draughtsman'] ['Augustin Coppens', 'occupation', 'engraver']
ASK WHERE { resource:Augustin_Coppens property:occupation ?v . VALUES ( ?v ) { ( resource:draughtsman ) ( resource:engraver ) } }
[]
common name
SYSTEM
YES
(Q933005,P106,Q683754) (Q933005,P106,Q329439)
action is_in
entity prev_answer
action find
entity Q933005
relation P106
[ANSWER]
['Q933005', 'P106', 'Q683754'] ['Q933005', 'P106', 'Q329439']
ASK WHERE { resource:Q933005 property:P106 ?v . VALUES ( ?v ) { ( resource:Q683754 ) ( resource:Q329439 ) } }
Yes
action is_in
entity prev_answer
action find
entity Augustin Coppens
relation occupation
['Augustin Coppens', 'occupation', 'draughtsman'] ['Augustin Coppens', 'occupation', 'engraver']
ASK WHERE { resource:Augustin_Coppens property:occupation ?v . VALUES ( ?v ) { ( resource:draughtsman ) ( resource:engraver ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q25916916 Q329439
P2079 P425
Q2695280
USER
Which technicss have engraver as the associated fields of occupation and are used for the assembly of The great water fall near the Devils Bridge ?
AND((Q329439,P425,c(Q2695280)), (Q25916916,P2079,c(Q2695280)))
action filter_type
action intersection
action find
entity Q329439
relation P425
action find
entity Q25916916
relation P2079
type Q2695280
{'AND': [['Q329439', 'P425', {'concept': 'Q2695280'}], ['Q25916916', 'P2079', {'concept': 'Q2695280'}]]}
SELECT DISTINCT ?k WHERE { resource:Q25916916 property:P2079 ?k . resource:Q329439 property:P425 ?k . ?k rdf:type ontology:Q2695280 }
The great water fall near the Devils Bridge engraver
action filter_type
action intersection
action find
entity engraver
relation field of this occupation
action find
entity The great water fall near the Devils Bridge
relation fabrication method
type technics
{'AND': [['engraver', 'field of this occupation', {'concept': 'technics'}], ['The great water fall near the Devils Bridge', 'fabrication method', {'concept': 'technics'}]]}
SELECT DISTINCT ?k WHERE { resource:The_great_water_fall_near_the_Devils_Bridge property:fabrication_method ?k . resource:engraver property:field_of_this_occupation ?k . ?k rdf:type ontology:technics }
[]
technics
Q139106
SYSTEM
engraving
Q139106
AND((Q329439,P425,c(Q2695280)), (Q25916916,P2079,c(Q2695280)))
action filter_type
action intersection
action find
entity Q329439
relation P425
action find
entity Q25916916
relation P2079
type Q2695280
[ANSWER] have engraver as the associated fields of occupation and are used for the assembly of The great water fall near the Devils Bridge
{'AND': [['Q329439', 'P425', {'concept': 'Q2695280'}], ['Q25916916', 'P2079', {'concept': 'Q2695280'}]]}
SELECT DISTINCT ?k WHERE { resource:Q25916916 property:P2079 ?k . resource:Q329439 property:P425 ?k . ?k rdf:type ontology:Q2695280 }
engraving
Engraving have engraver as the associated fields of occupation and are used for the assembly of The great water fall near the Devils Bridge
engraving
action filter_type
action intersection
action find
entity engraver
relation field of this occupation
action find
entity The great water fall near the Devils Bridge
relation fabrication method
type technics
{'AND': [['engraver', 'field of this occupation', {'concept': 'technics'}], ['The great water fall near the Devils Bridge', 'fabrication method', {'concept': 'technics'}]]}
SELECT DISTINCT ?k WHERE { resource:The_great_water_fall_near_the_Devils_Bridge property:fabrication_method ?k . resource:engraver property:field_of_this_occupation ?k . ?k rdf:type ontology:technics }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P2079
Q21711025 Q11060274
USER
How many sculpture techniques and prints uses that technics as their manufacturing method ?
(c(Q21711025),P2079,Q139106) (c(Q11060274),P2079,Q139106) (c(Q21711025),P2079,Q139106) (c(Q11060274),P2079,Q139106)
action count
action union
action filter_type
action find_reverse
entity Q139106
relation P2079
type Q21711025
action filter_type
action find_reverse
entity Q139106
relation P2079
type Q11060274
[{'concept': 'Q21711025'}, 'P2079', 'Q139106'] [{'concept': 'Q11060274'}, 'P2079', 'Q139106'] [{'concept': 'Q21711025'}, 'P2079', 'Q139106'] [{'concept': 'Q11060274'}, 'P2079', 'Q139106']
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:Q21711025 ) ( ontology:Q11060274 ) } }
action count
action union
action filter_type
action find_reverse
entity engraving
relation fabrication method
type sculpture technique
action filter_type
action find_reverse
entity engraving
relation fabrication method
type print
[{'concept': 'sculpture technique'}, 'fabrication method', 'engraving'] [{'concept': 'print'}, 'fabrication method', 'engraving'] [{'concept': 'sculpture technique'}, 'fabrication method', 'engraving'] [{'concept': 'print'}, 'fabrication method', 'engraving']
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:sculpture_technique ) ( ontology:print ) } }
[]
sculpture technique print
SYSTEM
1 sculpture techniques and 1 prints
Q26267269 Q23762128
(c(Q21711025),P2079,Q139106) (c(Q11060274),P2079,Q139106) (c(Q21711025),P2079,Q139106) (c(Q11060274),P2079,Q139106)
action count
action union
action filter_type
action find_reverse
entity Q139106
relation P2079
type Q21711025
action filter_type
action find_reverse
entity Q139106
relation P2079
type Q11060274
[ANSWER]
[{'concept': 'Q21711025'}, 'P2079', 'Q139106'] [{'concept': 'Q11060274'}, 'P2079', 'Q139106'] [{'concept': 'Q21711025'}, 'P2079', 'Q139106'] [{'concept': 'Q11060274'}, 'P2079', 'Q139106']
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:Q21711025 ) ( ontology:Q11060274 ) } }
Medallion and bird of a collier of a St. George Guild Cardiff Castle
1 sculpture techniques and 1 prints
action count
action union
action filter_type
action find_reverse
entity engraving
relation fabrication method
type sculpture technique
action filter_type
action find_reverse
entity engraving
relation fabrication method
type print
[{'concept': 'sculpture technique'}, 'fabrication method', 'engraving'] [{'concept': 'print'}, 'fabrication method', 'engraving'] [{'concept': 'sculpture technique'}, 'fabrication method', 'engraving'] [{'concept': 'print'}, 'fabrication method', 'engraving']
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:sculpture_technique ) ( ontology:print ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16729854 Q933005
P19
Q56061
USER
Which administrative territories were Augustin Coppens or Rudy Hobbs born at ?
OR((Q933005,P19,c(Q56061)), (Q16729854,P19,c(Q56061)))
action filter_type
action union
action find
entity Q933005
relation P19
action find
entity Q16729854
relation P19
type Q56061
{'OR': [['Q933005', 'P19', {'concept': 'Q56061'}], ['Q16729854', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . { VALUES ( ?u ) { ( resource:Q16729854 ) ( resource:Q933005 ) } . ?u property:P19 ?s } }
Rudy Hobbs Augustin Coppens
action filter_type
action union
action find
entity Augustin Coppens
relation place of birth
action find
entity Rudy Hobbs
relation place of birth
type administrative territorial entity
{'OR': [['Augustin Coppens', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudy Hobbs', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . { VALUES ( ?u ) { ( resource:Rudy_Hobbs ) ( resource:Augustin_Coppens ) } . ?u property:place_of_birth ?s } }
[]
administrative territorial entity
Q239 Q12439
SYSTEM
Brussels, Detroit
Q239 Q12439
OR((Q933005,P19,c(Q56061)), (Q16729854,P19,c(Q56061)))
action filter_type
action union
action find
entity Q933005
relation P19
action find
entity Q16729854
relation P19
type Q56061
Augustin Coppens or Rudy Hobbs were born in [ANSWERS]
{'OR': [['Q933005', 'P19', {'concept': 'Q56061'}], ['Q16729854', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . { VALUES ( ?u ) { ( resource:Q16729854 ) ( resource:Q933005 ) } . ?u property:P19 ?s } }
Brussels Detroit
Augustin Coppens or Rudy Hobbs were born in Brussels and Detroit
Brussels Detroit
action filter_type
action union
action find
entity Augustin Coppens
relation place of birth
action find
entity Rudy Hobbs
relation place of birth
type administrative territorial entity
{'OR': [['Augustin Coppens', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudy Hobbs', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . { VALUES ( ?u ) { ( resource:Rudy_Hobbs ) ( resource:Augustin_Coppens ) } . ?u property:place_of_birth ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q12280 Q34442
USER
Which administrative territories are the destination of exactly 1 bridges and roads ?
(c(Q12280)|c(Q34442),P609,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 1
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q12280 ) ( ontology:Q34442 ) } . ?k rdf:type ?m } GROUP BY ?p } . FILTER ( ?n = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 1
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?p WHERE { VALUES ( ?m ) { ( ontology:bridge ) ( ontology:road ) } . ?k rdf:type ?m } GROUP BY ?p } . FILTER ( ?n = 1 ) }
[]
administrative territorial entity bridge road
Q1781 Q1867 Q26430
SYSTEM
Budapest, Taipei, Tilburg
Q1159408 Q1866725 Q81076 Q10084 Q3112494 Q81177 Q2218481 Q2779809 Q238510 Q780923 Q957593 Q581785 Q2207185 Q1027049 Q185216 Q846242 Q1784987 Q2223679 Q1309 Q2684131 Q13415826 Q883862 Q12912978 Q4507706 Q4357016 Q3315792 Q149787 Q2372373 Q4357626 Q3020221 Q282729 Q3475289 Q937679 Q3532 Q5529922 Q49274 Q3030085 Q2124272 Q2060859 Q6903267 Q10025 Q3394752 Q43631 Q478036 Q1812494 Q10661123 Q4733779 Q2121249 Q1615972 Q1043381 Q9911 Q6383632 Q2376829 Q81086 Q1026976 Q51697 Q51694 Q798 Q298489 Q1615386 Q932008 Q2473978 Q1840 Q2525207 Q5367550 Q9909 Q60444 Q2247076 Q26430 Q920932 Q2579355 Q3026315 Q9898 Q237692 Q1912125 Q170263 Q1907250 Q3312626 Q16977290 Q579722 Q992371 Q2403755 Q3030738 Q2096849 Q2360370 Q2853591 Q858607 Q4412622 Q1615562 Q2893665 Q2235855 Q425786 Q1781 Q2873143 Q168279 Q2318330 Q15156199 Q826048 Q1613459 Q12013510 Q244327 Q20203420 Q1890680 Q2856996 Q201002 Q26345 Q10041 Q3261960 Q3330170 Q517423 Q2023889 Q1616642 Q9783 Q9871 Q5327973 Q1863836 Q2511595 Q3432009 Q84125 Q736131 Q506745 Q1867 Q2805272 Q995911 Q166065 Q1782644 Q1007176 Q611722 Q1025080 Q1025089 Q2900922 Q77056 Q1258901 Q9934 Q990130 Q2225613 Q2774284 Q2496189 Q2277323 Q40844 Q2282115 Q1210428 Q2289322 Q448970 Q1781568 Q1781556 Q2281208 Q726635 Q230406 Q615732 Q3025598 Q4411580 Q2860067 Q985549 Q971130 Q1916586 Q10037 Q2433994 Q3354991
(c(Q12280)|c(Q34442),P609,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 1
[ANSWERS] are the destination of exactly 1 bridges and roads
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q12280 ) ( ontology:Q34442 ) } . ?k rdf:type ?m } GROUP BY ?p } . FILTER ( ?n = 1 ) }
Dandenong Groenekan Zierikzee Vlissingen Poeldijk Leersum Oosterbeek Kats Etten Wallasey Den Oever Lepelstraat Terneuzen Irkeshtam Grapevine Nieuw-Lekkerland Aspudden Uithuizen Maastricht De Punt De Bilt Blerick Oosterhout Dongen Ulvsunda industriområde Sätra Hendon Kootwijk Farstanäset De Meern Ouderkerk aan de Amstel Schaijk Bunnik Hemel Hempstead Geestdorp Garland Wieringerwerf Maasdam Nieuw-Beijerland Roosendaal Wierden Catthorpe Leiden Schoonhoven Rijswijk Sandarna Almere Poort Stainforth Wateringen Reimersholme Den Helder Huvudsta Swifterbant Sas van Gent Sale McKinney Grand Prairie Assen Östermalm Sassenheim Maarssen Ede Veenendaal Ochten Elsham, North Lincolnshire Bussum Drachten Barger-Compascuum Tilburg Eede Babberich Terhole Amstelveen Ewijk Klaaswaal Chester Serooskerke Middenmeer Alkmaar Ossendrecht Bruinisse Terschuur Zuidschermer Stellendam Longtown Aberford Strijen Hjorthagen Kesteren Beek, Montferland Aarlanderveen 's-Gravenzande Budapest Hoek Zbraslav Waverveen Alphen aan den Rijn Waddinxveen Naaldwijk Vught Gorinchem Heumen Bad Nieuweschans Neeritter Liljeholmen Kalmar Soest Gröndal Velsen-Zuid Den Dolder Eijsden Thurcroft Roermond Tilburg East Butterwick Kamerik Almere Stad Rijkevoort Gouda Alblasserdam Rijswijk Taipei Ens Hoofddorp Lelystad Årsta Glanerbrug Westerland, Netherlands Soesterberg Nieuw- en Sint Joosland Nieuwe Pekela Edam Driebergen-Rijsenburg Hilversum Hook of Holland Nieuwdorp Meerkerk Oude-Tonge Siebengewald Breda Gretna Didam Van Ewijcksluis Alvik Nockeby Gärdet Dinteloord Beek, Ubbergen Zurich, Friesland Breukelen Wedde Fredhäll Cothen Sitia Nieuwe Niedorp Elsloo, Limburg Eemnes Putte, Pays-Bas Kristineberg
Budapest, Taipei and Tilburg are the destination of exactly 1 bridges and roads
Budapest Taipei Tilburg
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 1
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?p WHERE { VALUES ( ?m ) { ( ontology:bridge ) ( ontology:road ) } . ?k rdf:type ?m } GROUP BY ?p } . FILTER ( ?n = 1 ) }
[]