Simple Question (Direct)
Simple Question
Q1967000
P551
Q56061
USER
Which administrative territories were the place of residence of Wiert Berghuis ?
(Q1967000,P551,c(Q56061))
action filter_type
action find
entity Q1967000
relation P551
type Q56061
['Q1967000', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1967000 property:P551 ?k . ?k rdf:type ontology:Q56061 }
Wiert Berghuis
action filter_type
action find
entity Wiert Berghuis
relation residence
type administrative territorial entity
['Wiert Berghuis', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wiert_Berghuis property:residence ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q10014 Q2281401
SYSTEM
Amsterdam, Kampen, Nieuw-Buinen
Q727 Q2281401 Q2486957 Q10014
(Q1967000,P551,c(Q56061))
action filter_type
action find
entity Q1967000
relation P551
type Q56061
[ANSWERS] were the place of residence of Wiert Berghuis
['Q1967000', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1967000 property:P551 ?k . ?k rdf:type ontology:Q56061 }
Amsterdam Nieuw-Buinen Easterein Kampen
Amsterdam, Kampen and Nieuw-Buinen were the place of residence of Wiert Berghuis
Amsterdam Kampen Nieuw-Buinen
action filter_type
action find
entity Wiert Berghuis
relation residence
type administrative territorial entity
['Wiert Berghuis', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wiert_Berghuis property:residence ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q727 Q10014 Q2281401
P17
Q15617994
USER
Which administrative territories are Amsterdam, Kampen and Nieuw-Buinen situated in ?
(Q727,P17,c(Q15617994)) (Q10014,P17,c(Q15617994)) (Q2281401,P17,c(Q15617994))
action union
action filter_type
action find
entity Q727
relation P17
type Q15617994
action filter_type
action find
entity Q10014
relation P17
type Q15617994
action filter_type
action find
entity Q2281401
relation P17
type Q15617994
['Q727', 'P17', {'concept': 'Q15617994'}] ['Q10014', 'P17', {'concept': 'Q15617994'}] ['Q2281401', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?q property:P17 ?h . VALUES ( ?q ) { ( resource:Q727 ) ( resource:Q10014 ) } }
Amsterdam Kampen Nieuw-Buinen
action union
action filter_type
action find
entity Amsterdam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kampen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nieuw-Buinen
relation country
type designation for an administrative territorial entity
['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kampen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nieuw-Buinen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?q property:country ?h . VALUES ( ?q ) { ( resource:Amsterdam ) ( resource:Kampen ) } }
[]
designation for an administrative territorial entity
Q55 Q55 Q55
SYSTEM
Netherlands
Q142 Q55 Q55 Q55
(Q727,P17,c(Q15617994)) (Q10014,P17,c(Q15617994)) (Q2281401,P17,c(Q15617994))
action union
action filter_type
action find
entity Q727
relation P17
type Q15617994
action filter_type
action find
entity Q10014
relation P17
type Q15617994
action filter_type
action find
entity Q2281401
relation P17
type Q15617994
Amsterdam , Kampen and Nieuw-Buinen are situated in [ANSWER], [ANSWER] and [ANSWER]
['Q727', 'P17', {'concept': 'Q15617994'}] ['Q10014', 'P17', {'concept': 'Q15617994'}] ['Q2281401', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?q property:P17 ?h . VALUES ( ?q ) { ( resource:Q727 ) ( resource:Q10014 ) } }
France Netherlands Netherlands Netherlands
Amsterdam , Kampen and Nieuw-Buinen are situated in Netherlands, Netherlands and Netherlands
Netherlands Netherlands Netherlands
action union
action filter_type
action find
entity Amsterdam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kampen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nieuw-Buinen
relation country
type designation for an administrative territorial entity
['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kampen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nieuw-Buinen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?q property:country ?h . VALUES ( ?q ) { ( resource:Amsterdam ) ( resource:Kampen ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P206
Q473972
USER
Which protected area is situated close to Amsterdam ?
(Q55,P206,c(Q473972)) (Q55,P206,c(Q473972)) (Q55,P206,c(Q473972))
action filter_type
action find
entity Q727
relation P206
type Q473972
['Q55', 'P206', {'concept': 'Q473972'}] ['Q55', 'P206', {'concept': 'Q473972'}] ['Q55', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q473972 . resource:Q727 property:P206 ?a }
Amsterdam
action filter_type
action find
entity Amsterdam
relation located next to body of water
type protected area
['Netherlands', 'located next to body of water', {'concept': 'protected area'}] ['Netherlands', 'located next to body of water', {'concept': 'protected area'}] ['Netherlands', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:protected_area . resource:Amsterdam property:located_next_to_body_of_water ?a }
[]
protected area
Q4121
SYSTEM
IJsselmeer
Q4121
(Q55,P206,c(Q473972)) (Q55,P206,c(Q473972)) (Q55,P206,c(Q473972))
action filter_type
action find
entity Q727
relation P206
type Q473972
[ANSWER] is situated close to Amsterdam
['Q55', 'P206', {'concept': 'Q473972'}] ['Q55', 'P206', {'concept': 'Q473972'}] ['Q55', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q473972 . resource:Q727 property:P206 ?a }
IJsselmeer
IJsselmeer is situated close to Amsterdam
IJsselmeer
action filter_type
action find
entity Amsterdam
relation located next to body of water
type protected area
['Netherlands', 'located next to body of water', {'concept': 'protected area'}] ['Netherlands', 'located next to body of water', {'concept': 'protected area'}] ['Netherlands', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:protected_area . resource:Amsterdam property:located_next_to_body_of_water ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4121
P403
Q337567
USER
Which still waters has that protected area as its outlet ?
(c(Q337567),P403,Q4121)
action filter_type
action find_reverse
entity Q4121
relation P403
type Q337567
[{'concept': 'Q337567'}, 'P403', 'Q4121']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q337567 . ?e property:P403 resource:Q4121 }
IJsselmeer
action filter_type
action find_reverse
entity IJsselmeer
relation mouth of the watercourse
type still waters
[{'concept': 'still waters'}, 'mouth of the watercourse', 'IJsselmeer']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:still_waters . ?e property:mouth_of_the_watercourse resource:IJsselmeer }
[]
still waters
Q939766
SYSTEM
Markermeer
Q939766
(c(Q337567),P403,Q4121)
action filter_type
action find_reverse
entity Q4121
relation P403
type Q337567
[ANSWER] has that protected area as its outlet
[{'concept': 'Q337567'}, 'P403', 'Q4121']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q337567 . ?e property:P403 resource:Q4121 }
Markermeer
Markermeer has that protected area as its outlet
Markermeer
action filter_type
action find_reverse
entity IJsselmeer
relation mouth of the watercourse
type still waters
[{'concept': 'still waters'}, 'mouth of the watercourse', 'IJsselmeer']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:still_waters . ?e property:mouth_of_the_watercourse resource:IJsselmeer }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P740
Q43229 Q2088357
USER
How many organizations or musical ensembles were formed at Netherlands ?
(c(Q43229),P740,Q55) (c(Q2088357),P740,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P740
type Q43229
action filter_type
action find_reverse
entity Q55
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q55'] [{'concept': 'Q2088357'}, 'P740', 'Q55']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P740 resource:Q55 . ?g rdf:type ontology:Q2088357 } UNION { ?g property:P740 resource:Q55 . ?g rdf:type ontology:Q43229 } }
Netherlands
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type organization
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Netherlands'] [{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:location_of_formation resource:Netherlands . ?g rdf:type ontology:musical_ensemble } UNION { ?g property:location_of_formation resource:Netherlands . ?g rdf:type ontology:organization } }
[]
organization musical ensemble
SYSTEM
23
Q1837290 Q1428298 Q635013 Q5254413 Q2435869 Q456791 Q11794159 Q4970926 Q178792 Q288918 Q2177479 Q18391485 Q5897824 Q477315 Q254348 Q2259411 Q3339806 Q787859 Q1759163 Q1812812 Q2381841 Q1515919 Q3854745
(c(Q43229),P740,Q55) (c(Q2088357),P740,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P740
type Q43229
action filter_type
action find_reverse
entity Q55
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q55'] [{'concept': 'Q2088357'}, 'P740', 'Q55']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P740 resource:Q55 . ?g rdf:type ontology:Q2088357 } UNION { ?g property:P740 resource:Q55 . ?g rdf:type ontology:Q43229 } }
Mexx Vredestein Banden B.V. Guilt Machine Delphian ReVamp Ambeon Numero Uno Sonic Me Delain Focus De Jeugd van Tegenwoordig NEW ID Plaeto Dance Nation Prostitute Disfigurement Djumbo Nick Vernier Band Babe (Dutch band) Star One Legion of the Damned Marktplaats.nl Kingfisher Sky Mentadent
23
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type organization
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Netherlands'] [{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:location_of_formation resource:Netherlands . ?g rdf:type ontology:musical_ensemble } UNION { ?g property:location_of_formation resource:Netherlands . ?g rdf:type ontology:organization } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1030
P36
Q56061 Q515 Q15617994
USER
Which administrative territories contain lesser number of administrative territories or cities as their capital than Namibia ?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q1030
relation P36
type Q56061
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q15617994 . ?a property:P36 ?y } UNION { ?a property:P36 ?y . ?a rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q515 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q1030 property:P36 ?p . { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q515 } } } } . FILTER ( ?u < ?g ) }
Namibia
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Namibia
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:capital ?y } UNION { ?a property:capital ?y . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:city } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Namibia property:capital ?p . { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:city } } } } . FILTER ( ?u < ?g ) }
[]
administrative territorial entity city designation for an administrative territorial entity
Q224 Q739 Q965
SYSTEM
Croatia, Colombia, Burkina Faso
Q12631 Q2991354 Q3368 Q1111401 Q504637 Q2998020 Q3044731 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q16628524 Q12798 Q12792 Q1284 Q1443 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q541589 Q12804 Q12808 Q1961264 Q3326 Q3286 Q12589 Q3266 Q3105 Q731547 Q33788 Q709 Q12740 Q12745 Q12779 Q2093388 Q12607 Q290739 Q598193 Q12576 Q1452646 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q697 Q12730 Q12736 Q2039306 Q662056 Q12657 Q12652 Q12556 Q694594 Q874 Q12816 Q4854468 Q2528268 Q3353 Q3357 Q492437 Q389004 Q492430 Q3278 Q3184 Q9073753 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q511365 Q1270568 Q34762 Q793437 Q1270623 Q580447 Q10957559 Q965 Q962 Q2344833 Q3125 Q3120 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q474421 Q3349 Q3083 Q3249 Q3164 Q12761 Q12765 Q224 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q12679 Q3846423 Q176 Q161258 Q4496152 Q3514973 Q3113 Q12789 Q1234961 Q1222 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q56061)|c(Q515))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q1030
relation P36
type Q56061
type Q515
[ANSWERS] contain lesser number of administrative territories or cities as their capital than Namibia
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q15617994 . ?a property:P36 ?y } UNION { ?a property:P36 ?y . ?a rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q515 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q1030 property:P36 ?p . { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q515 } } } } . FILTER ( ?u < ?g ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Alta Verapaz Department Corse Guyane Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay San Salvador el Verde municipality Vendée Vaucluse Abruzzo Molise Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Loiret Morbihan Amatitlán Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Manche Charente Vosges Lippe New Caledonia Marshall Islands Sarthe Savoie Tarn-et-Garonne Sunamganj District Haute-Marne Sesia Apennins Lot Montenotte Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Nauru Haute-Saône Saône-et-Loire Jamalpur District Cushamen Department Nièvre Moselle Indre-et-Loire Bremen-Verden Turkmenistan Yonne Bandava Mont-Blanc Creuse Dordogne Bouches-du-Weser Wallachia Bouches-de-l'Elbe Charente-Maritime Ariège San Vicente Tancuayalab municipality Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Arvika Municipality Ems Principality of Bayreuth Bergantiños Meurthe Duchy of Styria Moldavia Burkina Faso Benin Kishoreganj District Hautes-Alpes Jura Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Principality of Fürstenberg Côtes-d'Armor Ain Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Croatia Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Orne Viesca Municipality Quebec Clipperton Island Khartsyzk Municipality Tanaro Allier Var Doire Aosta Valley Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Croatia, Colombia and Burkina Faso contain lesser number of administrative territories or cities as their capital than Namibia
Croatia Colombia Burkina Faso
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Namibia
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:capital ?y } UNION { ?a property:capital ?y . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:city } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Namibia property:capital ?p . { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:city } } } } . FILTER ( ?u < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q669802
P36
Q56061 Q515 Q15617994
USER
And also tell me about Quiché Department?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q669802
relation P36
type Q56061
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { { ?d property:P36 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q56061 } UNION { ?d property:P36 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q515 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q669802 property:P36 ?i . { { ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q515 } } } } . FILTER ( ?u < ?p ) }
Quiché Department
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Quiché Department
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { { ?d property:capital ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?d property:capital ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:city } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Quiché_Department property:capital ?i . { { ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:city } } } } . FILTER ( ?u < ?p ) }
[]
administrative territorial entity city designation for an administrative territorial entity
Q224 Q739 Q965
SYSTEM
Croatia, Colombia, Burkina Faso
Q12631 Q2991354 Q3368 Q1111401 Q504637 Q2998020 Q3044731 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q16628524 Q12798 Q12792 Q1284 Q1443 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q541589 Q12804 Q12808 Q1961264 Q3326 Q3286 Q12589 Q3266 Q3105 Q731547 Q33788 Q709 Q12740 Q12745 Q12779 Q2093388 Q12607 Q290739 Q598193 Q12576 Q1452646 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q697 Q12730 Q12736 Q2039306 Q662056 Q12657 Q12652 Q12556 Q694594 Q874 Q12816 Q4854468 Q2528268 Q3353 Q3357 Q492437 Q389004 Q492430 Q3278 Q3184 Q9073753 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q511365 Q1270568 Q34762 Q793437 Q1270623 Q580447 Q10957559 Q965 Q962 Q2344833 Q3125 Q3120 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q474421 Q3349 Q3083 Q3249 Q3164 Q12761 Q12765 Q224 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q12679 Q3846423 Q176 Q161258 Q4496152 Q3514973 Q3113 Q12789 Q1234961 Q1222 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q56061)|c(Q515))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q669802
relation P36
type Q56061
type Q515
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { { ?d property:P36 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q56061 } UNION { ?d property:P36 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q515 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q669802 property:P36 ?i . { { ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q515 } } } } . FILTER ( ?u < ?p ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Alta Verapaz Department Corse Guyane Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay San Salvador el Verde municipality Vendée Vaucluse Abruzzo Molise Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Loiret Morbihan Amatitlán Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Manche Charente Vosges Lippe New Caledonia Marshall Islands Sarthe Savoie Tarn-et-Garonne Sunamganj District Haute-Marne Sesia Apennins Lot Montenotte Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Nauru Haute-Saône Saône-et-Loire Jamalpur District Cushamen Department Nièvre Moselle Indre-et-Loire Bremen-Verden Turkmenistan Yonne Bandava Mont-Blanc Creuse Dordogne Bouches-du-Weser Wallachia Bouches-de-l'Elbe Charente-Maritime Ariège San Vicente Tancuayalab municipality Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Arvika Municipality Ems Principality of Bayreuth Bergantiños Meurthe Duchy of Styria Moldavia Burkina Faso Benin Kishoreganj District Hautes-Alpes Jura Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Principality of Fürstenberg Côtes-d'Armor Ain Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Croatia Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Orne Viesca Municipality Quebec Clipperton Island Khartsyzk Municipality Tanaro Allier Var Doire Aosta Valley Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Croatia Colombia Burkina Faso
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Quiché Department
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { { ?d property:capital ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?d property:capital ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:city } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Quiché_Department property:capital ?i . { { ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:city } } } } . FILTER ( ?u < ?p ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q224 Q739 Q965
P530
Q1048835
USER
Which political territories are known to have diplomatic connections with those administrative territories ?
(c(Q1048835),P530,Q224) (c(Q1048835),P530,Q739) (c(Q1048835),P530,Q965)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q224'] [{'concept': 'Q1048835'}, 'P530', 'Q739'] [{'concept': 'Q1048835'}, 'P530', 'Q965']
SELECT DISTINCT ?n WHERE { VALUES ( ?l ) { ( resource:Q12631 ) ( resource:Q2991354 ) ( resource:Q3368 ) } . ?n rdf:type ontology:Q1048835 . ?l property:P530 ?n }
Croatia Colombia Burkina Faso
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Croatia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Colombia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Burkina Faso']
SELECT DISTINCT ?n WHERE { VALUES ( ?l ) { ( resource:Meuse ) ( resource:Aquiles_Serdán_Municipality ) ( resource:Essonne ) } . ?n rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?n }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q408 Q183 Q408 Q183 Q16 Q183
(c(Q1048835),P530,Q224) (c(Q1048835),P530,Q739) (c(Q1048835),P530,Q965)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are known to have diplomatic connections with those administrative territories
[{'concept': 'Q1048835'}, 'P530', 'Q224'] [{'concept': 'Q1048835'}, 'P530', 'Q739'] [{'concept': 'Q1048835'}, 'P530', 'Q965']
SELECT DISTINCT ?n WHERE { VALUES ( ?l ) { ( resource:Q12631 ) ( resource:Q2991354 ) ( resource:Q3368 ) } . ?n rdf:type ontology:Q1048835 . ?l property:P530 ?n }
Australia Germany Australia Germany Canada Germany
Germany, Germany and Germany are known to have diplomatic connections with those administrative territories
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Croatia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Colombia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Burkina Faso']
SELECT DISTINCT ?n WHERE { VALUES ( ?l ) { ( resource:Meuse ) ( resource:Aquiles_Serdán_Municipality ) ( resource:Essonne ) } . ?n rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1967000
P735
Q82799
USER
What are forename of Wiert Berghuis ?
(Q1967000,P735,c(Q82799))
action filter_type
action find
entity Q1967000
relation P735
type Q82799
['Q1967000', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1967000 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Wiert Berghuis
action filter_type
action find
entity Wiert Berghuis
relation given name
type name
['Wiert Berghuis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Wiert_Berghuis property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q20747305 Q20747306
SYSTEM
Wiert, Pauwel
Q20747305 Q20747306
(Q1967000,P735,c(Q82799))
action filter_type
action find
entity Q1967000
relation P735
type Q82799
Forename of Wiert Berghuis are of [ANSWERS]
['Q1967000', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1967000 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Wiert Pauwel
Forename of Wiert Berghuis are of Wiert and Pauwel
Wiert Pauwel
action filter_type
action find
entity Wiert Berghuis
relation given name
type name
['Wiert Berghuis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Wiert_Berghuis property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15831174
Q82799
USER
And how about Rubens Pinheiro?
(Q15831174,P735,c(Q82799))
action filter_type
action find
entity Q15831174
relation P735
type Q82799
['Q15831174', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q15831174 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Rubens Pinheiro
action filter_type
action find
entity Rubens Pinheiro
relation given name
type name
['Rubens Pinheiro', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Rubens_Pinheiro property:given_name ?s . ?s rdf:type ontology:name }
[]
name
Q19830596
SYSTEM
Rubens
Q19830596
(Q15831174,P735,c(Q82799))
action filter_type
action find
entity Q15831174
relation P735
type Q82799
[ANSWER]
['Q15831174', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q15831174 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Rubens
Rubens
action filter_type
action find
entity Rubens Pinheiro
relation given name
type name
['Rubens Pinheiro', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Rubens_Pinheiro property:given_name ?s . ?s rdf:type ontology:name }
[]