Simple Question (Direct)
Simple Question
Q3726029
P20
Q15617994
USER
Where did the demise of Enrico Reposi occur ?
(Q3726029,P20,c(Q15617994))
action filter_type
action find
entity Q3726029
relation P20
type Q15617994
['Q3726029', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3726029 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Enrico Reposi
action filter_type
action find
entity Enrico Reposi
relation place of death
type designation for an administrative territorial entity
['Enrico Reposi', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Enrico_Reposi property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6088
SYSTEM
Alessandria
Q6088
(Q3726029,P20,c(Q15617994))
action filter_type
action find
entity Q3726029
relation P20
type Q15617994
The demise of Enrico Reposi occurred in [ANSWER]
['Q3726029', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3726029 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Alessandria
The demise of Enrico Reposi occurred in Alessandria
Alessandria
action filter_type
action find
entity Enrico Reposi
relation place of death
type designation for an administrative territorial entity
['Enrico Reposi', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Enrico_Reposi property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6088
P119
Q502895
USER
Which person has that administrative territory as resting place ?
(c(Q502895),P119,Q6088)
action filter_type
action find_reverse
entity Q6088
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q6088']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q6088 . ?l rdf:type ontology:Q502895 }
Alessandria
action filter_type
action find_reverse
entity Alessandria
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Alessandria']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Alessandria . ?l rdf:type ontology:common_name }
[]
common name
Q2696763
SYSTEM
Saint Baudolino
Q2696763
(c(Q502895),P119,Q6088)
action filter_type
action find_reverse
entity Q6088
relation P119
type Q502895
[ANSWER] has that administrative territory as resting place
[{'concept': 'Q502895'}, 'P119', 'Q6088']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q6088 . ?l rdf:type ontology:Q502895 }
Saint Baudolino
Saint Baudolino has that administrative territory as resting place
Saint Baudolino
action filter_type
action find_reverse
entity Alessandria
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Alessandria']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Alessandria . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q486972
USER
How many human settlements are the places of birth of that person ?
(Q2696763,P19,c(Q486972))
action count
action filter_type
action find
entity Q2696763
relation P19
type Q486972
['Q2696763', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ontology:Q486972 . resource:Q2696763 property:P19 ?i }
action count
action filter_type
action find
entity Saint Baudolino
relation place of birth
type human settlement
['Saint Baudolino', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ontology:human_settlement . resource:Saint_Baudolino property:place_of_birth ?i }
[]
human settlement
SYSTEM
1
Q4012694
(Q2696763,P19,c(Q486972))
action count
action filter_type
action find
entity Q2696763
relation P19
type Q486972
[ANSWER]
['Q2696763', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ontology:Q486972 . resource:Q2696763 property:P19 ?i }
Forum Fulvii
1
action count
action filter_type
action find
entity Saint Baudolino
relation place of birth
type human settlement
['Saint Baudolino', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ontology:human_settlement . resource:Saint_Baudolino property:place_of_birth ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 2422 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2422
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?s = 2422 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2422
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?s = 2422 ) }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2422
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?s = 2422 ) }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2422
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?s = 2422 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6088
P190
Q56061 Q20667921
USER
How many administrative territories and french administrative divisions are twin towns of Alessandria ?
(Q6088,P190,c(Q56061)) (Q6088,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q6088
relation P190
type Q56061
action filter_type
action find
entity Q6088
relation P190
type Q20667921
['Q6088', 'P190', {'concept': 'Q56061'}] ['Q6088', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { resource:Q6088 property:P190 ?b . ?b rdf:type ontology:Q56061 } UNION { resource:Q6088 property:P190 ?b . ?b rdf:type ontology:Q20667921 } }
Alessandria
action count
action union
action filter_type
action find
entity Alessandria
relation sister city
type administrative territorial entity
action filter_type
action find
entity Alessandria
relation sister city
type type of french administrative division
['Alessandria', 'sister city', {'concept': 'administrative territorial entity'}] ['Alessandria', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { resource:Alessandria property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity } UNION { resource:Alessandria property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division } }
[]
administrative territorial entity type of french administrative division
SYSTEM
4 administrative territories and 1 french administrative divisions
Q2746 Q180139 Q181946 Q5687 Q52535
(Q6088,P190,c(Q56061)) (Q6088,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q6088
relation P190
type Q56061
action filter_type
action find
entity Q6088
relation P190
type Q20667921
[ANSWER]
['Q6088', 'P190', {'concept': 'Q56061'}] ['Q6088', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { resource:Q6088 property:P190 ?b . ?b rdf:type ontology:Q56061 } UNION { resource:Q6088 property:P190 ?b . ?b rdf:type ontology:Q20667921 } }
Ryazan Hradec Králové Argenteuil Jericho Rosario
4 administrative territories and 1 french administrative divisions
action count
action union
action filter_type
action find
entity Alessandria
relation sister city
type administrative territorial entity
action filter_type
action find
entity Alessandria
relation sister city
type type of french administrative division
['Alessandria', 'sister city', {'concept': 'administrative territorial entity'}] ['Alessandria', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { resource:Alessandria property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity } UNION { resource:Alessandria property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6088 Q606340
P17
Q15617994
USER
How many administrative territories are Alessandria or Ma'an Governorate situated in ?
(Q6088,P17,c(Q15617994)) (Q606340,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6088
relation P17
type Q15617994
action filter_type
action find
entity Q606340
relation P17
type Q15617994
['Q6088', 'P17', {'concept': 'Q15617994'}] ['Q606340', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { VALUES ( ?d ) { ( resource:Q6088 ) ( resource:Q606340 ) } . ?d property:P17 ?t }
Alessandria Ma'an Governorate
action count
action union
action filter_type
action find
entity Alessandria
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ma'an Governorate
relation country
type designation for an administrative territorial entity
['Alessandria', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Ma'an Governorate", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { VALUES ( ?d ) { ( resource:Alessandria ) ( resource:Ma'an_Governorate ) } . ?d property:country ?t }
[]
designation for an administrative territorial entity
SYSTEM
2
Q38 Q810
(Q6088,P17,c(Q15617994)) (Q606340,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6088
relation P17
type Q15617994
action filter_type
action find
entity Q606340
relation P17
type Q15617994
[ANSWER]
['Q6088', 'P17', {'concept': 'Q15617994'}] ['Q606340', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { VALUES ( ?d ) { ( resource:Q6088 ) ( resource:Q606340 ) } . ?d property:P17 ?t }
Italy Jordan
2
action count
action union
action filter_type
action find
entity Alessandria
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ma'an Governorate
relation country
type designation for an administrative territorial entity
['Alessandria', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Ma'an Governorate", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { VALUES ( ?d ) { ( resource:Alessandria ) ( resource:Ma'an_Governorate ) } . ?d property:country ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14455324 Q606340
P17
Q15617994
USER
Which administrative territories are Ma'an Governorate or Songmu a part of ?
OR((Q606340,P17,c(Q15617994)), (Q14455324,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q606340
relation P17
action find
entity Q14455324
relation P17
type Q15617994
{'OR': [['Q606340', 'P17', {'concept': 'Q15617994'}], ['Q14455324', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?d ) { ( resource:Q14455324 ) ( resource:Q606340 ) } . ?d property:P17 ?h } . ?h rdf:type ontology:Q15617994 }
Songmu Ma'an Governorate
action filter_type
action union
action find
entity Ma'an Governorate
relation country
action find
entity Songmu
relation country
type designation for an administrative territorial entity
{'OR': [["Ma'an Governorate", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Songmu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?d ) { ( resource:Songmu ) ( resource:Ma'an_Governorate ) } . ?d property:country ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q810
SYSTEM
People's Republic of China, Jordan
Q148 Q810
OR((Q606340,P17,c(Q15617994)), (Q14455324,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q606340
relation P17
action find
entity Q14455324
relation P17
type Q15617994
[ANSWERS] are Ma'an Governorate or Songmu a part of
{'OR': [['Q606340', 'P17', {'concept': 'Q15617994'}], ['Q14455324', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?d ) { ( resource:Q14455324 ) ( resource:Q606340 ) } . ?d property:P17 ?h } . ?h rdf:type ontology:Q15617994 }
People's Republic of China Jordan
People's Republic of China and Jordan are Ma'an Governorate or Songmu a part of
People's Republic of China Jordan
action filter_type
action union
action find
entity Ma'an Governorate
relation country
action find
entity Songmu
relation country
type designation for an administrative territorial entity
{'OR': [["Ma'an Governorate", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Songmu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?d ) { ( resource:Songmu ) ( resource:Ma'an_Governorate ) } . ?d property:country ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q834118
P530
Q1048835
USER
Do Espejón have diplomatic associations with those administrative territories ?
(Q834118,P530,Q148) (Q834118,P530,Q810)
action is_in
entity prev_answer
action find
entity Q834118
relation P530
['Q834118', 'P530', 'Q148'] ['Q834118', 'P530', 'Q810']
ASK WHERE { VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q810 ) } . resource:Q834118 property:P530 ?c }
Espejón
action is_in
entity prev_answer
action find
entity Espejón
relation diplomatic relation
['Espejón', 'diplomatic relation', "People's Republic of China"] ['Espejón', 'diplomatic relation', 'Jordan']
ASK WHERE { VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:Jordan ) } . resource:Espejón property:diplomatic_relation ?c }
[]
political territorial entity
SYSTEM
NO
(Q834118,P530,Q148) (Q834118,P530,Q810)
action is_in
entity prev_answer
action find
entity Q834118
relation P530
[ANSWER]
['Q834118', 'P530', 'Q148'] ['Q834118', 'P530', 'Q810']
ASK WHERE { VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q810 ) } . resource:Q834118 property:P530 ?c }
No
action is_in
entity prev_answer
action find
entity Espejón
relation diplomatic relation
['Espejón', 'diplomatic relation', "People's Republic of China"] ['Espejón', 'diplomatic relation', 'Jordan']
ASK WHERE { VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:Jordan ) } . resource:Espejón property:diplomatic_relation ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2696763 Q4012694
P20
Q486972
USER
Did the expiration of Saint Baudolino occur Forum Fulvii ?
(Q2696763,P20,Q4012694)
action is_in
entity Q4012694
action find
entity Q2696763
relation P20
['Q2696763', 'P20', 'Q4012694']
ASK WHERE { resource:Q2696763 property:P20 resource:Q4012694 }
Saint Baudolino Forum Fulvii
action is_in
entity Forum Fulvii
action find
entity Saint Baudolino
relation place of death
['Saint Baudolino', 'place of death', 'Forum Fulvii']
ASK WHERE { resource:Saint_Baudolino property:place_of_death resource:Forum_Fulvii }
[]
human settlement
SYSTEM
YES
(Q2696763,P20,Q4012694)
action is_in
entity Q4012694
action find
entity Q2696763
relation P20
[ANSWER]
['Q2696763', 'P20', 'Q4012694']
ASK WHERE { resource:Q2696763 property:P20 resource:Q4012694 }
Yes
action is_in
entity Forum Fulvii
action find
entity Saint Baudolino
relation place of death
['Saint Baudolino', 'place of death', 'Forum Fulvii']
ASK WHERE { resource:Saint_Baudolino property:place_of_death resource:Forum_Fulvii }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q148 Q7164559 Q837
P47
Q15617994
USER
Does People's Republic of China have an adjacent border with Penpont, Cornwall and Nepal ?
(Q148,P47,Q7164559) (Q148,P47,Q837)
action is_in
entity Q148
action intersection
action find_reverse
entity Q7164559
relation P47
action find_reverse
entity Q837
relation P47
['Q148', 'P47', 'Q7164559'] ['Q148', 'P47', 'Q837']
ASK WHERE { resource:Q148 property:P47 resource:Q837 . resource:Q148 property:P47 resource:Q7164559 }
People's Republic of China Penpont, Cornwall Nepal
action is_in
entity People's Republic of China
action intersection
action find_reverse
entity Penpont, Cornwall
relation shares border with
action find_reverse
entity Nepal
relation shares border with
["People's Republic of China", 'shares border with', 'Penpont, Cornwall'] ["People's Republic of China", 'shares border with', 'Nepal']
ASK WHERE { resource:People's_Republic_of_China property:shares_border_with resource:Nepal . resource:People's_Republic_of_China property:shares_border_with resource:Penpont,_Cornwall }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q148,P47,Q7164559) (Q148,P47,Q837)
action is_in
entity Q148
action intersection
action find_reverse
entity Q7164559
relation P47
action find_reverse
entity Q837
relation P47
[ANSWER]
['Q148', 'P47', 'Q7164559'] ['Q148', 'P47', 'Q837']
ASK WHERE { resource:Q148 property:P47 resource:Q837 . resource:Q148 property:P47 resource:Q7164559 }
NO and YES respectively
action is_in
entity People's Republic of China
action intersection
action find_reverse
entity Penpont, Cornwall
relation shares border with
action find_reverse
entity Nepal
relation shares border with
["People's Republic of China", 'shares border with', 'Penpont, Cornwall'] ["People's Republic of China", 'shares border with', 'Nepal']
ASK WHERE { resource:People's_Republic_of_China property:shares_border_with resource:Nepal . resource:People's_Republic_of_China property:shares_border_with resource:Penpont,_Cornwall }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q148 Q11703
P17
Q355304
USER
How many watercourses are present in People's Republic of China or United States Virgin Islands ?
(c(Q355304),P17,Q148) (c(Q355304),P17,Q11703)
action count
action union
action filter_type
action find_reverse
entity Q148
relation P17
type Q355304
action filter_type
action find_reverse
entity Q11703
relation P17
type Q355304
[{'concept': 'Q355304'}, 'P17', 'Q148'] [{'concept': 'Q355304'}, 'P17', 'Q11703']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P17 resource:Q148 . ?z rdf:type ontology:Q355304 } UNION { ?z property:P17 resource:Q11703 . ?z rdf:type ontology:Q355304 } }
People's Republic of China United States Virgin Islands
action count
action union
action filter_type
action find_reverse
entity People's Republic of China
relation country
type watercourse
action filter_type
action find_reverse
entity United States Virgin Islands
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', "People's Republic of China"] [{'concept': 'watercourse'}, 'country', 'United States Virgin Islands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:country resource:People's_Republic_of_China . ?z rdf:type ontology:watercourse } UNION { ?z property:country resource:United_States_Virgin_Islands . ?z rdf:type ontology:watercourse } }
[]
watercourse
SYSTEM
278
Q5348225 Q6450143 Q7676339 Q15274 Q15299103 Q6191327 Q5214284 Q4902473 Q7499453 Q6191880 Q13219616 Q5972957 Q1053967 Q5413 Q21551503 Q14948034 Q905386 Q237901 Q7131339 Q3488705 Q5034380 Q3335815 Q1111197 Q213576 Q1089031 Q932253 Q2339487 Q19840488 Q1131680 Q7355 Q4507128 Q7968062 Q11093500 Q2599627 Q857389 Q937148 Q876857 Q11147873 Q968027 Q2600447 Q99785 Q8044294 Q1337665 Q4848480 Q10917467 Q6191467 Q197592 Q875573 Q2121586 Q1511750 Q2066287 Q6720840 Q1045185 Q559661 Q16953902 Q2341287 Q4505431 Q15894155 Q10876522 Q7493214 Q715373 Q5978390 Q7675818 Q3754891 Q5967676 Q41179 Q197189 Q2672545 Q16909060 Q2510212 Q23498131 Q5271727 Q7821148 Q6709644 Q2510193 Q21364715 Q19840071 Q2656862 Q1393642 Q814822 Q501253 Q847641 Q11288016 Q866875 Q1193523 Q45403 Q3244259 Q976458 Q1158121 Q19848703 Q26422 Q907674 Q4966101 Q19840558 Q5095102 Q1074840 Q10930661 Q2121660 Q5925353 Q7682111 Q8075313 Q814633 Q5509700 Q14577607 Q1208580 Q4696493 Q8039049 Q16259006 Q1074179 Q4881271 Q1795013 Q26808 Q1749620 Q1063190 Q15915309 Q618668 Q2380766 Q5581697 Q278671 Q10296497 Q6964452 Q13560648 Q1046685 Q1518422 Q2277707 Q5209881 Q216941 Q19458443 Q55498 Q55499 Q8070735 Q4837071 Q13507935 Q1632803 Q4133842 Q5506852 Q8044435 Q10942184 Q2052775 Q48873 Q207777 Q10938192 Q285137 Q19840630 Q19840632 Q5639028 Q773033 Q12068919 Q31347 Q831884 Q5925679 Q1204978 Q602973 Q1538813 Q6124508 Q7273083 Q1012627 Q21010004 Q5972495 Q11163922 Q4848692 Q11131779 Q825310 Q199374 Q1151727 Q19751 Q6539899 Q7262638 Q7495696 Q201463 Q1557805 Q715797 Q21042930 Q15625076 Q6895721 Q824157 Q624934 Q2052526 Q7852487 Q2036542 Q1192771 Q6673188 Q1132092 Q198275 Q835550 Q14475750 Q7666170 Q1075393 Q7979764 Q16824714 Q16259639 Q996494 Q10888104 Q2509519 Q111852 Q7348 Q6368684 Q2339502 Q1031649 Q925110 Q9527122 Q10863768 Q6689829 Q1935994 Q8057764 Q206850 Q210326 Q847844 Q2586024 Q15299101 Q6123286 Q10822920 Q8060995 Q389788 Q8047532 Q7267860 Q26439 Q1416521 Q5065988 Q21368186 Q615328 Q715366 Q715361 Q7195692 Q11091011 Q8044815 Q1702928 Q4810870 Q10566286 Q8054980 Q334225 Q1770054 Q937661 Q7038624 Q128102 Q15944616 Q1569231 Q7504912 Q7561657 Q559283 Q3499210 Q1636131 Q3270267 Q1209663 Q4202727 Q856509 Q15901559 Q7496439 Q625575 Q8045271 Q1048648 Q13651128 Q836444 Q1071754 Q2005922 Q1154778 Q7851395 Q7494310 Q2669549 Q544565 Q5255918 Q13643443 Q38432 Q55651 Q1515792 Q6862 Q4120863 Q966140 Q1038418 Q1139779 Q713020 Q6704519 Q729269 Q1043774 Q2121658 Q18125434 Q7365612 Q18128285
(c(Q355304),P17,Q148) (c(Q355304),P17,Q11703)
action count
action union
action filter_type
action find_reverse
entity Q148
relation P17
type Q355304
action filter_type
action find_reverse
entity Q11703
relation P17
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P17', 'Q148'] [{'concept': 'Q355304'}, 'P17', 'Q11703']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P17 resource:Q148 . ?z rdf:type ontology:Q355304 } UNION { ?z property:P17 resource:Q11703 . ?z rdf:type ontology:Q355304 } }
Egongling River Kwan Tei River Taiping River Shing Mun River Xihan River Ji River Dan River Bian River Shiyang River Jiao River Taiyang River Jiuxiang River Yong River Yangtze Machang Jianhe Dabang River Jiaolai Tarim River Panlong River Manasi River Caopo River Nanxi River Arun River Huai River Sichuan River Jiulong River Karakash River Nimu Maqu River Xar Moron River Yellow River Chaobai River Wanquan River Batang River Yarlung Pudu River Tao River Yalong River Liuxihe River Fu River Yixun River Huangpu River Xiaoqing River Emil River Bailong River Diaoshuilou Waterfall Jian River Zhengguo Canal Han River Qin River Kashgar River Torsa River Ma Wat River Jialing River Liao River Dai River Ying River Jin River On New River Jiang River Shek Sheung River Muling River Changbai Waterfall Tai Po River Fushui River Shu River Mekong River Zhang River Gui River Hutun River Ng Tung River Baishui river Diaoshuilou Falls Tongtian River Taxkorgan He Ting River Tala River Duilong River Taoer River Ulungur River Beipan River Hai River Wei River Wei River Nen River Luan River Brahmaputra River Yarlung Tsangpo River Min River Dangqu River Thao River Salween River Suzhou Creek Bride's Pool Pengbo River Chi River Chishui River Du River Qingyi River Huan River Tan Shan River Zuo River Bei River Furong River Jin River Yi River Ai River Wuding River Baiyang River Daxia River Beilun River Kyi River List of rivers of China Liuchong River Yuan River Ko-tani Mudan River Qiemo River Gong River Da'an River Gez River Nanya River Yepak river Gan River Xianshui River Sham Chun River Dajing River Xi River Chishui River Yalu River Tumen River Zheng River Ba River Galwan River Huangshui River Huaqing Pool Fu River Xilin River Chip Chap River Fuyuan River Huma River Ussuri River Datong River Dong River Renhe River Reting Tsangpo Haidian River Jing River Shijing River Grand Canal Xiang River Huang River Luo River Hukou Waterfall Ulan Moron Xiao River Quây Sơn River Si River Changle River Qing River Wenzaobang Baishui River Yongding River diversion canal Red Flag Canal Dahan Creek Yongding River Qiantang River Lian River Puyang River Sheung Yue River Pearl River Myang Chu Khalkhyn Gol Gui River Xin River Molcha River Dujiangyan Irrigation System Kaidu River Zhuokou River Tuman River South–North Water Transfer Project Tuo River Long River Jin River Zi River Qinhuai River Second Songhua River Sênggê Zangbo Dadu River Wei River Guijiang River Terekty River Sha Tau Kok River Xiushui River Qianjiang River Razdolnaya River Indus River Karatash River White Jade River Jin River Shaksgam River Nandu River Wu River Loushui River Miluo River Youjiang River Red River Songhua River Liu River Yitong River Yanzi River Jahnavi River Nho Quế River Yulong River Han River Yalu River Qingshuihe River Argun River Xiliao River Chaba River Gaya River Hongshui River Naoli River Songacha River Ping Yuen River Cao'e River Xixi River Lishui River Muzat River Yinma River Yong River Li River Jiao River Luo River Ning River Irtysh River Buliu River Nanpan River Shule River Songyuan River Yarkand River Keriya River Huifa River Wei River Hun River Kash River Xunjiang Weihe Shiguan River Hotan River Xunyang River Ruo Shui Muma River Sanggan River Hetao Nyang River Fen River Tuen Mun River Shennong Stream Yu River Qu River Lam Tsuen River Lian River Huangguoshu Waterfall Changpu Wu River Amur Gan River Lingqu Canal Jinsha River Shweli River Ou River Luo River Min River Mei River Qingyi River Hangbu River Rong River Muli River
278
action count
action union
action filter_type
action find_reverse
entity People's Republic of China
relation country
type watercourse
action filter_type
action find_reverse
entity United States Virgin Islands
relation country
type watercourse
[{'concept': 'watercourse'}, 'country', "People's Republic of China"] [{'concept': 'watercourse'}, 'country', 'United States Virgin Islands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:country resource:People's_Republic_of_China . ?z rdf:type ontology:watercourse } UNION { ?z property:country resource:United_States_Virgin_Islands . ?z rdf:type ontology:watercourse } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q148 Q846
P530
Q15617994
USER
How many administrative territories have tactful political relations with People's Republic of China and Qatar ?
(c(Q15617994),P530,Q148) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q148'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P530 resource:Q148 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q846 . ?y rdf:type ontology:Q15617994 }
People's Republic of China Qatar
action count
action intersection
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "People's Republic of China"] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:diplomatic_relation resource:People's_Republic_of_China . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Qatar . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q858 Q929 Q805
(c(Q15617994),P530,Q148) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q148'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P530 resource:Q148 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q846 . ?y rdf:type ontology:Q15617994 }
Syria Central African Republic Yemen
3
action count
action intersection
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "People's Republic of China"] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:diplomatic_relation resource:People's_Republic_of_China . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Qatar . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]