Simple Question (Direct)
Simple Question
Q5525049
P641
Q349
USER
What was the sport that Gary Farquhar was a part of ?
(Q5525049,P641,c(Q349))
action filter_type
action find
entity Q5525049
relation P641
type Q349
['Q5525049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q5525049 property:P641 ?h . ?h rdf:type ontology:Q349 }
Gary Farquhar
action filter_type
action find
entity Gary Farquhar
relation sport
type sport
['Gary Farquhar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Gary_Farquhar property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5525049,P641,c(Q349))
action filter_type
action find
entity Q5525049
relation P641
type Q349
The sport that Gary Farquhar was a part of was the [ANSWER]
['Q5525049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q5525049 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
The sport that Gary Farquhar was a part of was the association football
association football
action filter_type
action find
entity Gary Farquhar
relation sport
type sport
['Gary Farquhar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Gary_Farquhar property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5525049
P19
Q56061
USER
Which administrative territory is the place of birth of Gary Farquhar ?
(Q5525049,P19,c(Q56061))
action filter_type
action find
entity Q5525049
relation P19
type Q56061
['Q5525049', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5525049 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Gary Farquhar
action filter_type
action find
entity Gary Farquhar
relation place of birth
type administrative territorial entity
['Gary Farquhar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gary_Farquhar property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1012502
SYSTEM
Wick
Q1012502
(Q5525049,P19,c(Q56061))
action filter_type
action find
entity Q5525049
relation P19
type Q56061
[ANSWER] is the place of birth of Gary Farquhar
['Q5525049', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5525049 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Wick
Wick is the place of birth of Gary Farquhar
Wick
action filter_type
action find
entity Gary Farquhar
relation place of birth
type administrative territorial entity
['Gary Farquhar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gary_Farquhar property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q145948
P180
Q56061 Q15709879 Q2342494
USER
Which administrative territories are depicted in greater number of artwork series or collectables than Svolvær ?
(c(Q15709879)|c(Q2342494),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145948
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { VALUES ( ?n ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?c rdf:type ?n } . ?c property:P180 resource:Q145948 } } . FILTER ( ?j > ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?v } }
Svolvær
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type artwork series
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Svolvær
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { VALUES ( ?n ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?c rdf:type ?n } . ?c property:depicts resource:Svolvær } } . FILTER ( ?j > ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?v } }
[]
administrative territorial entity artwork series collectable
Q8678 Q36600 Q85
SYSTEM
Rio de Janeiro, The Hague, Cairo
Q11370950 Q9427 Q467664 Q54108 Q153516 Q8678 Q1563 Q85 Q187346 Q48292 Q16258 Q36600
(c(Q15709879)|c(Q2342494),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145948
relation P180
type Q15709879
type Q2342494
[ANSWERS] are depicted in greater number of artwork series or collectables than Svolvær
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { VALUES ( ?n ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?c rdf:type ?n } . ?c property:P180 resource:Q145948 } } . FILTER ( ?j > ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?v } }
Kameido Timbuktu Butte Bahía Blanca Nuenen Rio de Janeiro Havana Cairo Constantine Arles Maldonado The Hague
Rio de Janeiro, The Hague and Cairo are depicted in greater number of artwork series or collectables than Svolvær
Rio de Janeiro The Hague Cairo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type artwork series
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Svolvær
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { VALUES ( ?n ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?c rdf:type ?n } . ?c property:depicts resource:Svolvær } } . FILTER ( ?j > ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { ?y rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q329967
P180
Q56061 Q15709879 Q2342494
USER
And how about Paestum?
(c(Q15709879)|c(Q2342494),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q329967
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P180 ?j . ?j rdf:type ontology:Q56061 . ?d rdf:type ontology:Q15709879 } UNION { ?d property:P180 ?j . ?j rdf:type ontology:Q56061 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P180 resource:Q329967 . { { ?e rdf:type ontology:Q15709879 } UNION { ?e rdf:type ontology:Q2342494 } } } } . FILTER ( ?n > ?c ) }
Paestum
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type artwork series
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Paestum
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:artwork_series } UNION { ?d property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:collectable } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:depicts resource:Paestum . { { ?e rdf:type ontology:artwork_series } UNION { ?e rdf:type ontology:collectable } } } } . FILTER ( ?n > ?c ) }
[]
administrative territorial entity artwork series collectable
Q8678 Q36600 Q85
SYSTEM
Rio de Janeiro, The Hague, Cairo
Q11370950 Q9427 Q467664 Q54108 Q153516 Q8678 Q1563 Q85 Q187346 Q48292 Q16258 Q36600
(c(Q15709879)|c(Q2342494),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q329967
relation P180
type Q15709879
type Q2342494
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P180 ?j . ?j rdf:type ontology:Q56061 . ?d rdf:type ontology:Q15709879 } UNION { ?d property:P180 ?j . ?j rdf:type ontology:Q56061 . ?d rdf:type ontology:Q2342494 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P180 resource:Q329967 . { { ?e rdf:type ontology:Q15709879 } UNION { ?e rdf:type ontology:Q2342494 } } } } . FILTER ( ?n > ?c ) }
Kameido Timbuktu Butte Bahía Blanca Nuenen Rio de Janeiro Havana Cairo Constantine Arles Maldonado The Hague
Rio de Janeiro The Hague Cairo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type artwork series
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Paestum
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:artwork_series } UNION { ?d property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:collectable } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:depicts resource:Paestum . { { ?e rdf:type ontology:artwork_series } UNION { ?e rdf:type ontology:collectable } } } } . FILTER ( ?n > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have adopted around 1 people and holidays as patron saint ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?a WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?k } GROUP BY ?a } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?a WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?k } GROUP BY ?a } . FILTER ( ?b = 1 ) }
[]
common name holiday administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?a WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?k } GROUP BY ?a } . FILTER ( ?b = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?a WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?k } GROUP BY ?a } . FILTER ( ?b = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6700387
P26
Q502895
USER
Which person is married to Luis Brandoni ?
(Q6700387,P26,c(Q502895))
action filter_type
action find
entity Q6700387
relation P26
type Q502895
['Q6700387', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6700387 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Luis Brandoni
action filter_type
action find
entity Luis Brandoni
relation spouse
type common name
['Luis Brandoni', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Luis_Brandoni property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q6001878
SYSTEM
Marta Bianchi
Q6001878
(Q6700387,P26,c(Q502895))
action filter_type
action find
entity Q6700387
relation P26
type Q502895
[ANSWER] is married to Luis Brandoni
['Q6700387', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6700387 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Marta Bianchi
Marta Bianchi is married to Luis Brandoni
Marta Bianchi
action filter_type
action find
entity Luis Brandoni
relation spouse
type common name
['Luis Brandoni', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Luis_Brandoni property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q126237
Q502895
USER
And also tell me about Godfrey I, Count of Louvain?
(Q126237,P26,c(Q502895))
action filter_type
action find
entity Q126237
relation P26
type Q502895
['Q126237', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q126237 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Godfrey I, Count of Louvain
action filter_type
action find
entity Godfrey I, Count of Louvain
relation spouse
type common name
['Godfrey I, Count of Louvain', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Godfrey_I,_Count_of_Louvain property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2104024 Q1907131
SYSTEM
Clementia of Burgundy, Ida of Namur
Q2104024 Q1907131
(Q126237,P26,c(Q502895))
action filter_type
action find
entity Q126237
relation P26
type Q502895
[ANSWERS]
['Q126237', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q126237 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Clementia of Burgundy Ida of Namur
Clementia of Burgundy Ida of Namur
action filter_type
action find
entity Godfrey I, Count of Louvain
relation spouse
type common name
['Godfrey I, Count of Louvain', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Godfrey_I,_Count_of_Louvain property:spouse ?t . ?t rdf:type ontology:common_name }
[]