Simple Question (Direct)
Simple Question
Q5606699
P27
Q15617994
USER
Which administrative territory is Gregor Žugelj a civilian of ?
(Q5606699,P27,c(Q15617994))
action filter_type
action find
entity Q5606699
relation P27
type Q15617994
['Q5606699', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5606699 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Gregor Žugelj
action filter_type
action find
entity Gregor Žugelj
relation country of citizenship
type designation for an administrative territorial entity
['Gregor Žugelj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gregor_Žugelj property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q215
SYSTEM
Slovenia
Q215
(Q5606699,P27,c(Q15617994))
action filter_type
action find
entity Q5606699
relation P27
type Q15617994
[ANSWER] is Gregor Žugelj a civilian of
['Q5606699', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5606699 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Slovenia
Slovenia is Gregor Žugelj a civilian of
Slovenia
action filter_type
action find
entity Gregor Žugelj
relation country of citizenship
type designation for an administrative territorial entity
['Gregor Žugelj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gregor_Žugelj property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215
P1532
Q1194951
USER
Whose national sports team is that administrative territory ?
(c(Q1194951),P1532,Q215)
action filter_type
action find_reverse
entity Q215
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q215 . ?h rdf:type ontology:Q1194951 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Slovenia . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q172221
SYSTEM
Slovenia national football team
Q172221
(c(Q1194951),P1532,Q215)
action filter_type
action find_reverse
entity Q215
relation P1532
type Q1194951
[ANSWER] is that administrative territory
[{'concept': 'Q1194951'}, 'P1532', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q215 . ?h rdf:type ontology:Q1194951 }
Slovenia national football team
Slovenia national football team is that administrative territory
Slovenia national football team
action filter_type
action find_reverse
entity Slovenia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Slovenia . ?h rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172221
P1344
Q15275719
USER
Which recurring events did that national sports team compete in ?
(Q172221,P1344,c(Q15275719))
action filter_type
action find
entity Q172221
relation P1344
type Q15275719
['Q172221', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?d WHERE { resource:Q172221 property:P1344 ?d . ?d rdf:type ontology:Q15275719 }
Slovenia national football team
action filter_type
action find
entity Slovenia national football team
relation participant of
type recurring event
['Slovenia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?d WHERE { resource:Slovenia_national_football_team property:participant_of ?d . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q176883
SYSTEM
2002 FIFA World Cup, 2010 FIFA World Cup
Q47735 Q176883
(Q172221,P1344,c(Q15275719))
action filter_type
action find
entity Q172221
relation P1344
type Q15275719
That national sports team competed in [ANSWERS]
['Q172221', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?d WHERE { resource:Q172221 property:P1344 ?d . ?d rdf:type ontology:Q15275719 }
2002 FIFA World Cup 2010 FIFA World Cup
That national sports team competed in 2002 FIFA World Cup and 2010 FIFA World Cup
2002 FIFA World Cup 2010 FIFA World Cup
action filter_type
action find
entity Slovenia national football team
relation participant of
type recurring event
['Slovenia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?d WHERE { resource:Slovenia_national_football_team property:participant_of ?d . ?d rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22810993
P1344
Q502895
USER
Did Eduardo Zuain take part in those recurring events ?
(Q22810993,P1344,Q47735) (Q22810993,P1344,Q176883)
action is_in
entity prev_answer
action find
entity Q22810993
relation P1344
['Q22810993', 'P1344', 'Q47735'] ['Q22810993', 'P1344', 'Q176883']
ASK WHERE { VALUES ( ?x ) { ( resource:Q47735 ) ( resource:Q176883 ) } . resource:Q22810993 property:P1344 ?x }
Eduardo Zuain
action is_in
entity prev_answer
action find
entity Eduardo Zuain
relation participant of
['Eduardo Zuain', 'participant of', '2002 FIFA World Cup'] ['Eduardo Zuain', 'participant of', '2010 FIFA World Cup']
ASK WHERE { VALUES ( ?x ) { ( resource:2002_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) } . resource:Eduardo_Zuain property:participant_of ?x }
[]
common name
SYSTEM
NO
(Q22810993,P1344,Q47735) (Q22810993,P1344,Q176883)
action is_in
entity prev_answer
action find
entity Q22810993
relation P1344
[ANSWER]
['Q22810993', 'P1344', 'Q47735'] ['Q22810993', 'P1344', 'Q176883']
ASK WHERE { VALUES ( ?x ) { ( resource:Q47735 ) ( resource:Q176883 ) } . resource:Q22810993 property:P1344 ?x }
No
action is_in
entity prev_answer
action find
entity Eduardo Zuain
relation participant of
['Eduardo Zuain', 'participant of', '2002 FIFA World Cup'] ['Eduardo Zuain', 'participant of', '2010 FIFA World Cup']
ASK WHERE { VALUES ( ?x ) { ( resource:2002_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) } . resource:Eduardo_Zuain property:participant_of ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have adopted atleast 4 holidays or people as patron saint ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?x ) WHERE { { ?h property:P417 ?n . ?n rdf:type ontology:Q1445650 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P417 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?x >= 4 ) }
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?x ) WHERE { { ?h property:patron_saint ?n . ?n rdf:type ontology:holiday . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:patron_saint ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?x >= 4 ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
1
Q36
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?x ) WHERE { { ?h property:P417 ?n . ?n rdf:type ontology:Q1445650 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P417 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?x >= 4 ) }
Poland
1
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?x ) WHERE { { ?h property:patron_saint ?n . ?n rdf:type ontology:holiday . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:patron_saint ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?x >= 4 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q338094
P206
Q1267889 Q15324 Q15617994
USER
Which administrative territories are situated in the neighbourhood of approximately the same number of waterways or bodies of water as Polsingen ?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q338094
relation P206
type Q1267889
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?m rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q338094 property:P206 ?v . { { ?v rdf:type ontology:Q1267889 } UNION { ?v rdf:type ontology:Q15324 } } } } }
Polsingen
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Polsingen
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?m rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Polsingen property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:waterway } UNION { ?v rdf:type ontology:body_of_water } } } } }
[]
waterway body of water designation for an administrative territorial entity
Q347 Q29 Q213
SYSTEM
Liechtenstein, Spain, Czech Republic
Q505785 Q104577 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q104192 Q519663 Q2360428 Q255698 Q681329 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q2043234 Q42265 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q338094
relation P206
type Q1267889
type Q15324
[ANSWERS] are situated in the neighbourhood of approximately the same number of waterways or bodies of water as Polsingen
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?m rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q338094 property:P206 ?v . { { ?v rdf:type ontology:Q1267889 } UNION { ?v rdf:type ontology:Q15324 } } } } }
Pförring Desenzano del Garda Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Oneop Eichstätt Kleinmachnow Kösching Tijuana Municipality Abensberg Dümmer Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Almere Buiten Abbadia Lariana Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
Liechtenstein, Spain and Czech Republic are situated in the neighbourhood of approximately the same number of waterways or bodies of water as Polsingen
Liechtenstein Spain Czech Republic
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Polsingen
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?m rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Polsingen property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:waterway } UNION { ?v rdf:type ontology:body_of_water } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q895413
P206
Q1267889 Q15324 Q15617994
USER
And what about Bowen Island?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q895413
relation P206
type Q1267889
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?w WHERE { VALUES ( ?v ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?u rdf:type ?v } GROUP BY ?w } . FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } . resource:Q895413 property:P206 ?e } } }
Bowen Island
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Bowen Island
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?w WHERE { VALUES ( ?v ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?u rdf:type ?v } GROUP BY ?w } . FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } } . resource:Bowen_Island property:located_next_to_body_of_water ?e } } }
[]
waterway body of water designation for an administrative territorial entity
Q347 Q29 Q213
SYSTEM
Liechtenstein, Spain, Czech Republic
Q505785 Q104577 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q104192 Q519663 Q2360428 Q255698 Q681329 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q2043234 Q42265 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q895413
relation P206
type Q1267889
type Q15324
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?w WHERE { VALUES ( ?v ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?u rdf:type ?v } GROUP BY ?w } . FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } . resource:Q895413 property:P206 ?e } } }
Pförring Desenzano del Garda Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Oneop Eichstätt Kleinmachnow Kösching Tijuana Municipality Abensberg Dümmer Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Almere Buiten Abbadia Lariana Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
Liechtenstein Spain Czech Republic
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Bowen Island
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?w WHERE { VALUES ( ?v ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?u rdf:type ?v } GROUP BY ?w } . FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } } . resource:Bowen_Island property:located_next_to_body_of_water ?e } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1721424
P530
Q15617994
USER
Do Kailbach have tactful political relations with those ones ?
(Q1721424,P530,Q347) (Q1721424,P530,Q29) (Q1721424,P530,Q213)
action is_in
entity prev_answer
action find
entity Q1721424
relation P530
['Q1721424', 'P530', 'Q347'] ['Q1721424', 'P530', 'Q29'] ['Q1721424', 'P530', 'Q213']
ASK WHERE { resource:Q1721424 property:P530 ?w . VALUES ( ?w ) { ( resource:Q505785 ) ( resource:Q104577 ) ( resource:Q3066319 ) } }
Kailbach
action is_in
entity prev_answer
action find
entity Kailbach
relation diplomatic relation
['Kailbach', 'diplomatic relation', 'Liechtenstein'] ['Kailbach', 'diplomatic relation', 'Spain'] ['Kailbach', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Kailbach property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Pförring ) ( resource:Desenzano_del_Garda ) ( resource:Fala-Beguets ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1721424,P530,Q347) (Q1721424,P530,Q29) (Q1721424,P530,Q213)
action is_in
entity prev_answer
action find
entity Q1721424
relation P530
[ANSWER]
['Q1721424', 'P530', 'Q347'] ['Q1721424', 'P530', 'Q29'] ['Q1721424', 'P530', 'Q213']
ASK WHERE { resource:Q1721424 property:P530 ?w . VALUES ( ?w ) { ( resource:Q505785 ) ( resource:Q104577 ) ( resource:Q3066319 ) } }
No
action is_in
entity prev_answer
action find
entity Kailbach
relation diplomatic relation
['Kailbach', 'diplomatic relation', 'Liechtenstein'] ['Kailbach', 'diplomatic relation', 'Spain'] ['Kailbach', 'diplomatic relation', 'Czech Republic']
ASK WHERE { resource:Kailbach property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Pförring ) ( resource:Desenzano_del_Garda ) ( resource:Fala-Beguets ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q38 Q557041
P530
Q15617994
USER
Does Spain have diplomatic associations with Italy and Liebenstein ?
(Q29,P530,Q38) (Q29,P530,Q557041)
action is_in
entity Q29
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q557041
relation P530
['Q29', 'P530', 'Q38'] ['Q29', 'P530', 'Q557041']
ASK WHERE { resource:Q29 property:P530 resource:Q38 . resource:Q29 property:P530 resource:Q557041 }
Spain Italy Liebenstein
action is_in
entity Spain
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Liebenstein
relation diplomatic relation
['Spain', 'diplomatic relation', 'Italy'] ['Spain', 'diplomatic relation', 'Liebenstein']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Italy . resource:Spain property:diplomatic_relation resource:Liebenstein }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q29,P530,Q38) (Q29,P530,Q557041)
action is_in
entity Q29
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q557041
relation P530
[ANSWER]
['Q29', 'P530', 'Q38'] ['Q29', 'P530', 'Q557041']
ASK WHERE { resource:Q29 property:P530 resource:Q38 . resource:Q29 property:P530 resource:Q557041 }
YES and NO respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Liebenstein
relation diplomatic relation
['Spain', 'diplomatic relation', 'Italy'] ['Spain', 'diplomatic relation', 'Liebenstein']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Italy . resource:Spain property:diplomatic_relation resource:Liebenstein }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q902
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than Bangladesh ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q902
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P530 resource:Q902 . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Bangladesh
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Bangladesh
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:diplomatic_relation resource:Bangladesh . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q902
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P530 resource:Q902 . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Bangladesh
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:diplomatic_relation resource:Bangladesh . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P123
Q21114848
USER
Which magazine genre was issued by Slovenia ?
(c(Q21114848),P123,Q215)
action filter_type
action find_reverse
entity Q215
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q215 . ?h rdf:type ontology:Q21114848 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:Slovenia . ?h rdf:type ontology:magazine_genre }
[]
magazine genre
Q15720847
SYSTEM
Urbani izziv
Q15720847
(c(Q21114848),P123,Q215)
action filter_type
action find_reverse
entity Q215
relation P123
type Q21114848
Slovenia [ANSWER] was issued by Slovenia
[{'concept': 'Q21114848'}, 'P123', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q215 . ?h rdf:type ontology:Q21114848 }
Urbani izziv
Slovenia Urbani izziv was issued by Slovenia
Urbani izziv
action filter_type
action find_reverse
entity Slovenia
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:Slovenia . ?h rdf:type ontology:magazine_genre }
[]