Simple Question (Direct)
Simple Question
Q1365453
P47
Q20667921
USER
Which french administrative divisions are bordered by Saint-Crépin-Ibouvillers ?
(Q1365453,P47,c(Q20667921))
action filter_type
action find
entity Q1365453
relation P47
type Q20667921
['Q1365453', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1365453 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Saint-Crépin-Ibouvillers
action filter_type
action find
entity Saint-Crépin-Ibouvillers
relation shares border with
type type of french administrative division
['Saint-Crépin-Ibouvillers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Crépin-Ibouvillers property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q816227 Q517261 Q1109998
SYSTEM
Méru, Ivry-le-Temple, Senots
Q748641 Q818297 Q816227 Q1336960 Q1109998 Q517261 Q661938
(Q1365453,P47,c(Q20667921))
action filter_type
action find
entity Q1365453
relation P47
type Q20667921
[ANSWERS]
['Q1365453', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1365453 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Ressons-l'Abbaye Villeneuve-les-Sablons Méru Lormaison Senots Ivry-le-Temple Corbeil-Cerf
Méru Ivry-le-Temple Senots
action filter_type
action find
entity Saint-Crépin-Ibouvillers
relation shares border with
type type of french administrative division
['Saint-Crépin-Ibouvillers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Crépin-Ibouvillers property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1365453
P17
Q15617994
USER
Which administrative territory does Saint-Crépin-Ibouvillers belong to ?
(Q1365453,P17,c(Q15617994))
action filter_type
action find
entity Q1365453
relation P17
type Q15617994
['Q1365453', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1365453 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Saint-Crépin-Ibouvillers
action filter_type
action find
entity Saint-Crépin-Ibouvillers
relation country
type designation for an administrative territorial entity
['Saint-Crépin-Ibouvillers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Saint-Crépin-Ibouvillers property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1365453,P17,c(Q15617994))
action filter_type
action find
entity Q1365453
relation P17
type Q15617994
[ANSWER]
['Q1365453', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1365453 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Saint-Crépin-Ibouvillers
relation country
type designation for an administrative territorial entity
['Saint-Crépin-Ibouvillers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Saint-Crépin-Ibouvillers property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21961446 Q142
P47 P17
Q1048835
USER
Which political territories share border with France or are Quinns Beach a part of ?
OR((Q142,P47,c(Q1048835)), (Q21961446,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q21961446
relation P17
type Q1048835
{'OR': [['Q142', 'P47', {'concept': 'Q1048835'}], ['Q21961446', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q142 property:P47 ?o } UNION { resource:Q21961446 property:P17 ?o } } . ?o rdf:type ontology:Q1048835 }
Quinns Beach France
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Quinns Beach
relation country
type political territorial entity
{'OR': [['France', 'shares border with', {'concept': 'political territorial entity'}], ['Quinns Beach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:France property:shares_border_with ?o } UNION { resource:Quinns_Beach property:country ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13116 Q408 Q183
SYSTEM
Benelux, Australia, Germany
Q13116 Q408 Q183
OR((Q142,P47,c(Q1048835)), (Q21961446,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q21961446
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q142', 'P47', {'concept': 'Q1048835'}], ['Q21961446', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q142 property:P47 ?o } UNION { resource:Q21961446 property:P17 ?o } } . ?o rdf:type ontology:Q1048835 }
Benelux Australia Germany
Benelux Australia Germany
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Quinns Beach
relation country
type political territorial entity
{'OR': [['France', 'shares border with', {'concept': 'political territorial entity'}], ['Quinns Beach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:France property:shares_border_with ?o } UNION { resource:Quinns_Beach property:country ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q638912 Q142
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with France and are European route E75 located in ?
AND((Q142,P530,c(Q15617994)), (Q638912,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q638912
relation P17
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q638912', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q142 property:P530 ?t . resource:Q638912 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
European route E75 France
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity European route E75
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['European route E75', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:France property:diplomatic_relation ?t . resource:European_route_E75 property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
AND((Q142,P530,c(Q15617994)), (Q638912,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q638912
relation P17
type Q15617994
[ANSWER]
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q638912', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q142 property:P530 ?t . resource:Q638912 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Serbia
Serbia
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity European route E75
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['European route E75', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:France property:diplomatic_relation ?t . resource:European_route_E75 property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q403 Q4055575 Q4171562
P530
Q1048835
USER
Does that administrative territory have ambassadorial relations with Yavdotivka and Dyliivka ?
(Q403,P530,Q4055575) (Q403,P530,Q4171562)
action is_in
entity Q403
action intersection
action find_reverse
entity Q4055575
relation P530
action find_reverse
entity Q4171562
relation P530
['Q403', 'P530', 'Q4055575'] ['Q403', 'P530', 'Q4171562']
ASK WHERE { resource:Q403 property:P530 resource:Q4055575 . resource:Q403 property:P530 resource:Q4171562 }
Serbia Yavdotivka Dyliivka
action is_in
entity Serbia
action intersection
action find_reverse
entity Yavdotivka
relation diplomatic relation
action find_reverse
entity Dyliivka
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Yavdotivka'] ['Serbia', 'diplomatic relation', 'Dyliivka']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Yavdotivka . resource:Serbia property:diplomatic_relation resource:Dyliivka }
[]
political territorial entity
SYSTEM
NO
(Q403,P530,Q4055575) (Q403,P530,Q4171562)
action is_in
entity Q403
action intersection
action find_reverse
entity Q4055575
relation P530
action find_reverse
entity Q4171562
relation P530
[ANSWER]
['Q403', 'P530', 'Q4055575'] ['Q403', 'P530', 'Q4171562']
ASK WHERE { resource:Q403 property:P530 resource:Q4055575 . resource:Q403 property:P530 resource:Q4171562 }
No
action is_in
entity Serbia
action intersection
action find_reverse
entity Yavdotivka
relation diplomatic relation
action find_reverse
entity Dyliivka
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Yavdotivka'] ['Serbia', 'diplomatic relation', 'Dyliivka']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Yavdotivka . resource:Serbia property:diplomatic_relation resource:Dyliivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q816227 Q302444
P47
Q20667921
USER
Does Laboissière-en-Thelle share border with Méru ?
(Q816227,P47,Q302444)
action is_in
entity Q302444
action find
entity Q816227
relation P47
['Q816227', 'P47', 'Q302444']
ASK WHERE { resource:Q816227 property:P47 resource:Q302444 }
Méru Laboissière-en-Thelle
action is_in
entity Laboissière-en-Thelle
action find
entity Méru
relation shares border with
['Méru', 'shares border with', 'Laboissière-en-Thelle']
ASK WHERE { resource:Méru property:shares_border_with resource:Laboissière-en-Thelle }
[]
type of french administrative division
SYSTEM
YES
(Q816227,P47,Q302444)
action is_in
entity Q302444
action find
entity Q816227
relation P47
[ANSWER]
['Q816227', 'P47', 'Q302444']
ASK WHERE { resource:Q816227 property:P47 resource:Q302444 }
Yes
action is_in
entity Laboissière-en-Thelle
action find
entity Méru
relation shares border with
['Méru', 'shares border with', 'Laboissière-en-Thelle']
ASK WHERE { resource:Méru property:shares_border_with resource:Laboissière-en-Thelle }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q816227
P47
Q20667921
USER
How many french administrative divisions have a shared border with Méru ?
(Q816227,P47,c(Q20667921))
action count
action filter_type
action find
entity Q816227
relation P47
type Q20667921
['Q816227', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q816227 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Méru
action count
action filter_type
action find
entity Méru
relation shares border with
type type of french administrative division
['Méru', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Méru property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
8
Q1106685 Q818297 Q1336960 Q661938 Q511910 Q302444 Q1365453 Q1346765
(Q816227,P47,c(Q20667921))
action count
action filter_type
action find
entity Q816227
relation P47
type Q20667921
[ANSWER]
['Q816227', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q816227 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Amblainville Villeneuve-les-Sablons Lormaison Corbeil-Cerf Esches Laboissière-en-Thelle Saint-Crépin-Ibouvillers Andeville
8
action count
action filter_type
action find
entity Méru
relation shares border with
type type of french administrative division
['Méru', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Méru property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q128637
Q20667921
USER
And also tell me about Saint-Thuriau?
(Q128637,P47,c(Q20667921))
action count
action filter_type
action find
entity Q128637
relation P47
type Q20667921
['Q128637', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q128637 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
Saint-Thuriau
action count
action filter_type
action find
entity Saint-Thuriau
relation shares border with
type type of french administrative division
['Saint-Thuriau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Saint-Thuriau property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
5
(Q128637,P47,c(Q20667921))
action count
action filter_type
action find
entity Q128637
relation P47
type Q20667921
[ANSWER]
['Q128637', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q128637 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
5
action count
action filter_type
action find
entity Saint-Thuriau
relation shares border with
type type of french administrative division
['Saint-Thuriau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Saint-Thuriau property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P17
Q5119 Q21506450
USER
How many capitals and military unit size classes are located in Germany ?
(c(Q5119),P17,Q183) (c(Q21506450),P17,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q5119
action filter_type
action find_reverse
entity Q183
relation P17
type Q21506450
[{'concept': 'Q5119'}, 'P17', 'Q183'] [{'concept': 'Q21506450'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q5119 ) ( ontology:Q21506450 ) } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation country
type capital
action filter_type
action find_reverse
entity Germany
relation country
type military unit size class
[{'concept': 'capital'}, 'country', 'Germany'] [{'concept': 'military unit size class'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:capital ) ( ontology:military_unit_size_class ) } }
[]
capital military unit size class
SYSTEM
20 capitals and 15 military unit size classes
Q11293 Q14784328 Q2621811 Q16000 Q2203744 Q4181 Q161896 Q2818219 Q712957 Q14925 Q2429393 Q497060 Q165649 Q14839 Q164544 Q6149 Q883125 Q2631179 Q163389 Q159548 Q44500 Q2633592 Q2710249 Q486551 Q494537 Q16026 Q6949 Q2146594 Q502378 Q3920 Q2633692 Q489059 Q16069 Q523642 Q4098
(c(Q5119),P17,Q183) (c(Q21506450),P17,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q5119
action filter_type
action find_reverse
entity Q183
relation P17
type Q21506450
[ANSWER]
[{'concept': 'Q5119'}, 'P17', 'Q183'] [{'concept': 'Q21506450'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q5119 ) ( ontology:Q21506450 ) } }
Schwelm state capital in Germany 243rd Static Infantry Division Winsen 349th Infantry Division Gummersbach 1st (UK) Armoured Division 710th Infantry Division Artillery Regiment 100 Mühlhausen/Thüringen 716th Static Infantry Division Plön 2nd Panzergrenadier Division Aurich 10th Panzer Division (Bundeswehr) Soest Special Operations Division 711th Infantry Division 1st Panzer Division Ingelheim am Rhein Weißenburg in Bayern 709th Static Infantry Division 713th Infantry Division Verden an der Aller Kronach Limburg an der Lahn Stade 600th Infantry Division Freyung Lüneburg 715th Infantry Division Regen Biberach an der Riss Bad Belzig Greifswald
20 capitals and 15 military unit size classes
action count
action union
action filter_type
action find_reverse
entity Germany
relation country
type capital
action filter_type
action find_reverse
entity Germany
relation country
type military unit size class
[{'concept': 'capital'}, 'country', 'Germany'] [{'concept': 'military unit size class'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:capital ) ( ontology:military_unit_size_class ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q55
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Netherlands ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?q ) WHERE { ?i rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q55 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?n ) }
Netherlands
action count
action approx
action find_reverse_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
entity Netherlands
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 ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?q ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?q ) WHERE { ?i rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q55 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?n ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_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
entity Netherlands
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 ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?q ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P137
Q811979 Q15056995
USER
How many architectural structures and aircraft models can be described as facility operator of France ?
(c(Q811979),P137,Q142) (c(Q15056995),P137,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P137
type Q811979
action filter_type
action find_reverse
entity Q142
relation P137
type Q15056995
[{'concept': 'Q811979'}, 'P137', 'Q142'] [{'concept': 'Q15056995'}, 'P137', 'Q142']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P137 resource:Q142 . ?z rdf:type ontology:Q811979 } UNION { ?z rdf:type ontology:Q15056995 . ?z property:P137 resource:Q142 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation operator
type architectural structure
action filter_type
action find_reverse
entity France
relation operator
type aircraft model
[{'concept': 'architectural structure'}, 'operator', 'France'] [{'concept': 'aircraft model'}, 'operator', 'France']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:operator resource:France . ?z rdf:type ontology:architectural_structure } UNION { ?z rdf:type ontology:aircraft_model . ?z property:operator resource:France } }
[]
architectural structure aircraft model
SYSTEM
1 architectural structures and 1 aircraft models
Q2841786 Q2590647
(c(Q811979),P137,Q142) (c(Q15056995),P137,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P137
type Q811979
action filter_type
action find_reverse
entity Q142
relation P137
type Q15056995
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q142'] [{'concept': 'Q15056995'}, 'P137', 'Q142']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P137 resource:Q142 . ?z rdf:type ontology:Q811979 } UNION { ?z rdf:type ontology:Q15056995 . ?z property:P137 resource:Q142 } }
Embassy of France, Stockholm Firecat
1 architectural structures and 1 aircraft models
action count
action union
action filter_type
action find_reverse
entity France
relation operator
type architectural structure
action filter_type
action find_reverse
entity France
relation operator
type aircraft model
[{'concept': 'architectural structure'}, 'operator', 'France'] [{'concept': 'aircraft model'}, 'operator', 'France']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:operator resource:France . ?z rdf:type ontology:architectural_structure } UNION { ?z rdf:type ontology:aircraft_model . ?z property:operator resource:France } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P463
Q484652
USER
What were Serbia a member of ?
(Q403,P463,c(Q484652))
action filter_type
action find
entity Q403
relation P463
type Q484652
['Q403', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q403 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Serbia
action filter_type
action find
entity Serbia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Serbia property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, Multilateral Investment Guarantee Agency
Q81299 Q1065 Q1043527
(Q403,P463,c(Q484652))
action filter_type
action find
entity Q403
relation P463
type Q484652
[ANSWERS]
['Q403', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q403 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
action filter_type
action find
entity Serbia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Serbia property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q403
Q874405
USER
And which social group?
(Q403,P463,c(Q874405))
action filter_type
action find
entity Q403
relation P463
type Q874405
['Q403', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q403 property:P463 ?y . ?y rdf:type ontology:Q874405 }
Serbia
action filter_type
action find
entity Serbia
relation member of
type social group
['Serbia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Serbia property:member_of ?y . ?y rdf:type ontology:social_group }
[]
social group
Q319014 Q8908 Q653277
SYSTEM
Central European Free Trade Agreement, Council of Europe, Partnership for Peace
Q319014 Q8908 Q653277
(Q403,P463,c(Q874405))
action filter_type
action find
entity Q403
relation P463
type Q874405
[ANSWERS]
['Q403', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q403 property:P463 ?y . ?y rdf:type ontology:Q874405 }
Central European Free Trade Agreement Council of Europe Partnership for Peace
Central European Free Trade Agreement Council of Europe Partnership for Peace
action filter_type
action find
entity Serbia
relation member of
type social group
['Serbia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Serbia property:member_of ?y . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q403 Q846
P463
Q484652
USER
How many international organizations were Serbia and Qatar a member of ?
(Q403,P463,c(Q484652)) (Q846,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q403
relation P463
type Q484652
action filter_type
action find
entity Q846
relation P463
type Q484652
['Q403', 'P463', {'concept': 'Q484652'}] ['Q846', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q484652 . resource:Q403 property:P463 ?j . resource:Q846 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Serbia Qatar
action count
action intersection
action filter_type
action find
entity Serbia
relation member of
type international organization
action filter_type
action find
entity Qatar
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}] ['Qatar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:international_organization . resource:Serbia property:member_of ?j . resource:Qatar property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q403,P463,c(Q484652)) (Q846,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q403
relation P463
type Q484652
action filter_type
action find
entity Q846
relation P463
type Q484652
[ANSWER]
['Q403', 'P463', {'concept': 'Q484652'}] ['Q846', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q484652 . resource:Q403 property:P463 ?j . resource:Q846 property:P463 ?j . ?j rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Serbia
relation member of
type international organization
action filter_type
action find
entity Qatar
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}] ['Qatar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:international_organization . resource:Serbia property:member_of ?j . resource:Qatar property:member_of ?j . ?j rdf:type ontology:international_organization }
[]