Simple Question (Direct)
Simple Question
Q7914483
P641
Q349
USER
Which sport was Vanderlei Francisco a part of ?
(Q7914483,P641,c(Q349))
action filter_type
action find
entity Q7914483
relation P641
type Q349
['Q7914483', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q7914483 property:P641 ?q . ?q rdf:type ontology:Q349 }
Vanderlei Francisco
action filter_type
action find
entity Vanderlei Francisco
relation sport
type sport
['Vanderlei Francisco', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Vanderlei_Francisco property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7914483,P641,c(Q349))
action filter_type
action find
entity Q7914483
relation P641
type Q349
Vanderlei Francisco was in [ANSWER]
['Q7914483', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q7914483 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Vanderlei Francisco was in association football
association football
action filter_type
action find
entity Vanderlei Francisco
relation sport
type sport
['Vanderlei Francisco', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Vanderlei_Francisco property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7914483
P21
Q290
USER
Which sex does Vanderlei Francisco belong to ?
(Q7914483,P21,c(Q290))
action filter_type
action find
entity Q7914483
relation P21
type Q290
['Q7914483', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7914483 property:P21 ?s . ?s rdf:type ontology:Q290 }
Vanderlei Francisco
action filter_type
action find
entity Vanderlei Francisco
relation gender
type sex
['Vanderlei Francisco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Vanderlei_Francisco property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7914483,P21,c(Q290))
action filter_type
action find
entity Q7914483
relation P21
type Q290
Vanderlei Francisco belongs to [ANSWER]
['Q7914483', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7914483 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Vanderlei Francisco belongs to male
male
action filter_type
action find
entity Vanderlei Francisco
relation gender
type sex
['Vanderlei Francisco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Vanderlei_Francisco property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q724357
Q290
USER
And what about Mikhail Arkadyevich Svetlov?
(Q724357,P21,c(Q290))
action filter_type
action find
entity Q724357
relation P21
type Q290
['Q724357', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q724357 property:P21 ?q }
Mikhail Arkadyevich Svetlov
action filter_type
action find
entity Mikhail Arkadyevich Svetlov
relation gender
type sex
['Mikhail Arkadyevich Svetlov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Mikhail_Arkadyevich_Svetlov property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q724357,P21,c(Q290))
action filter_type
action find
entity Q724357
relation P21
type Q290
[ANSWER]
['Q724357', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q724357 property:P21 ?q }
male
male
action filter_type
action find
entity Mikhail Arkadyevich Svetlov
relation gender
type sex
['Mikhail Arkadyevich Svetlov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Mikhail_Arkadyevich_Svetlov property:gender ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q79529 Q1936581
USER
How many chemical substances or mineral groups come from that sex ?
(c(Q79529),P138,Q6581097) (c(Q1936581),P138,Q6581097) (c(Q79529),P138,Q6581097) (c(Q1936581),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
[{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P138 resource:Q6581097 . ?u rdf:type ontology:Q1936581 } UNION { ?u property:P138 resource:Q6581097 . ?u rdf:type ontology:Q79529 } }
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
action filter_type
action find_reverse
entity male
relation named after
type mineral group
[{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:named_after resource:male . ?u rdf:type ontology:mineral_group } UNION { ?u property:named_after resource:male . ?u rdf:type ontology:chemical_substance } }
[]
chemical substance mineral group
SYSTEM
2
Q19833612 Q3844522
(c(Q79529),P138,Q6581097) (c(Q1936581),P138,Q6581097) (c(Q79529),P138,Q6581097) (c(Q1936581),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
[ANSWER]
[{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P138 resource:Q6581097 . ?u rdf:type ontology:Q1936581 } UNION { ?u property:P138 resource:Q6581097 . ?u rdf:type ontology:Q79529 } }
fabrièsite tweddillite
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
action filter_type
action find_reverse
entity male
relation named after
type mineral group
[{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:named_after resource:male . ?u rdf:type ontology:mineral_group } UNION { ?u property:named_after resource:male . ?u rdf:type ontology:chemical_substance } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P138
Q1936581 Q79529
USER
How many mineral groups and chemical substances have male as their namesake ?
(c(Q1936581),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P138 resource:Q6581097 . ?a rdf:type ontology:Q79529 } UNION { ?a rdf:type ontology:Q1936581 . ?a property:P138 resource:Q6581097 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral group
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:named_after resource:male . ?a rdf:type ontology:chemical_substance } UNION { ?a rdf:type ontology:mineral_group . ?a property:named_after resource:male } }
[]
mineral group chemical substance
SYSTEM
1 mineral groups and 1 chemical substances
Q19833612 Q3844522
(c(Q1936581),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P138 resource:Q6581097 . ?a rdf:type ontology:Q79529 } UNION { ?a rdf:type ontology:Q1936581 . ?a property:P138 resource:Q6581097 } }
fabrièsite tweddillite
1 mineral groups and 1 chemical substances
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral group
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:named_after resource:male . ?a rdf:type ontology:chemical_substance } UNION { ?a rdf:type ontology:mineral_group . ?a property:named_after resource:male } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21207229 Q7914483
P27
Q15617994
USER
Which administrative territories do Vanderlei Francisco or Sergiu Arnăutu belong to ?
OR((Q7914483,P27,c(Q15617994)), (Q21207229,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7914483
relation P27
action find
entity Q21207229
relation P27
type Q15617994
{'OR': [['Q7914483', 'P27', {'concept': 'Q15617994'}], ['Q21207229', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q7914483 property:P27 ?l } UNION { resource:Q21207229 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Sergiu Arnăutu Vanderlei Francisco
action filter_type
action union
action find
entity Vanderlei Francisco
relation country of citizenship
action find
entity Sergiu Arnăutu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vanderlei Francisco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sergiu Arnăutu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Vanderlei_Francisco property:country_of_citizenship ?l } UNION { resource:Sergiu_Arnăutu property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q218
SYSTEM
Brazil, Romania
Q155 Q218
OR((Q7914483,P27,c(Q15617994)), (Q21207229,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7914483
relation P27
action find
entity Q21207229
relation P27
type Q15617994
Vanderlei Francisco or Sergiu Arnăutu belong to both [ANSWERS]
{'OR': [['Q7914483', 'P27', {'concept': 'Q15617994'}], ['Q21207229', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q7914483 property:P27 ?l } UNION { resource:Q21207229 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Brazil Romania
Vanderlei Francisco or Sergiu Arnăutu belong to both Brazil and Romania
Brazil Romania
action filter_type
action union
action find
entity Vanderlei Francisco
relation country of citizenship
action find
entity Sergiu Arnăutu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vanderlei Francisco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sergiu Arnăutu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Vanderlei_Francisco property:country_of_citizenship ?l } UNION { resource:Sergiu_Arnăutu property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218
P47
Q15617994
USER
Which administrative territories do that one share a border with ?
(c(Q15617994),P47,Q218)
action filter_type
action find
entity Q218
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q218']
SELECT DISTINCT ?k WHERE { resource:Q218 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Romania
action filter_type
action find
entity Romania
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Romania']
SELECT DISTINCT ?k WHERE { resource:Romania property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q218
SYSTEM
Did you mean Romania ?
Q155 Q218
(c(Q15617994),P47,Q155) (c(Q15617994),P47,Q218)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q218']
SELECT DISTINCT ?k WHERE { resource:Q218 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Brazil Romania
Did you mean Romania ?
Romania
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Romania']
SELECT DISTINCT ?k WHERE { resource:Romania property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15617994),P47,Q218)
[{'concept': 'Q15617994'}, 'P47', 'Q218']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Romania']
[]
Q212 Q28 Q36
SYSTEM
Ukraine, Hungary, Poland
Q212 Q217 Q219 Q28 Q36 Q403
(c(Q15617994),P47,Q218)
action filter_type
action find
entity Q218
relation P47
type Q15617994
That one share a border with [ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q218']
SELECT DISTINCT ?k WHERE { resource:Q218 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Ukraine Republic of Moldova Bulgaria Hungary Poland Serbia
That one share a border with Ukraine, Hungary and Poland
Ukraine Hungary Poland
action filter_type
action find
entity Romania
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Romania']
SELECT DISTINCT ?k WHERE { resource:Romania property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q924
P1376
Q515
USER
Which city is center of administration for Tanzania ?
(c(Q515),P1376,Q924)
action filter_type
action find_reverse
entity Q924
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q924']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . ?i property:P1376 resource:Q924 }
Tanzania
action filter_type
action find_reverse
entity Tanzania
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Tanzania']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . ?i property:capital_of resource:Tanzania }
[]
city
Q3866
SYSTEM
Dodoma
Q3866
(c(Q515),P1376,Q924)
action filter_type
action find_reverse
entity Q924
relation P1376
type Q515
[ANSWER] is center of administration for Tanzania
[{'concept': 'Q515'}, 'P1376', 'Q924']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . ?i property:P1376 resource:Q924 }
Dodoma
Dodoma is center of administration for Tanzania
Dodoma
action filter_type
action find_reverse
entity Tanzania
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Tanzania']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . ?i property:capital_of resource:Tanzania }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3866
P190
Q515
USER
Which city is twin town of that one ?
(Q3866,P190,c(Q515))
action filter_type
action find
entity Q3866
relation P190
type Q515
['Q3866', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q3866 property:P190 ?f . ?f rdf:type ontology:Q515 }
Dodoma
action filter_type
action find
entity Dodoma
relation sister city
type city
['Dodoma', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Dodoma property:sister_city ?f . ?f rdf:type ontology:city }
[]
city
Q66485
SYSTEM
Jaipur
Q66485
(Q3866,P190,c(Q515))
action filter_type
action find
entity Q3866
relation P190
type Q515
[ANSWER] is twin town of that one
['Q3866', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q3866 property:P190 ?f . ?f rdf:type ontology:Q515 }
Jaipur
Jaipur is twin town of that one
Jaipur
action filter_type
action find
entity Dodoma
relation sister city
type city
['Dodoma', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Dodoma property:sister_city ?f . ?f rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q66485 Q3510262 Q13053074
P190
Q56061
USER
Is that city partner town of Uromi and Lusaghbyur, Aragatsotn ?
(Q66485,P190,Q3510262) (Q66485,P190,Q13053074)
action is_in
entity Q66485
action intersection
action find_reverse
entity Q3510262
relation P190
action find_reverse
entity Q13053074
relation P190
['Q66485', 'P190', 'Q3510262'] ['Q66485', 'P190', 'Q13053074']
ASK WHERE { resource:Q66485 property:P190 resource:Q3510262 . resource:Q66485 property:P190 resource:Q13053074 }
Jaipur Uromi Lusaghbyur, Aragatsotn
action is_in
entity Jaipur
action intersection
action find_reverse
entity Uromi
relation sister city
action find_reverse
entity Lusaghbyur, Aragatsotn
relation sister city
['Jaipur', 'sister city', 'Uromi'] ['Jaipur', 'sister city', 'Lusaghbyur, Aragatsotn']
ASK WHERE { resource:Jaipur property:sister_city resource:Uromi . resource:Jaipur property:sister_city resource:Lusaghbyur,_Aragatsotn }
[]
administrative territorial entity
SYSTEM
NO
(Q66485,P190,Q3510262) (Q66485,P190,Q13053074)
action is_in
entity Q66485
action intersection
action find_reverse
entity Q3510262
relation P190
action find_reverse
entity Q13053074
relation P190
[ANSWER]
['Q66485', 'P190', 'Q3510262'] ['Q66485', 'P190', 'Q13053074']
ASK WHERE { resource:Q66485 property:P190 resource:Q3510262 . resource:Q66485 property:P190 resource:Q13053074 }
No
action is_in
entity Jaipur
action intersection
action find_reverse
entity Uromi
relation sister city
action find_reverse
entity Lusaghbyur, Aragatsotn
relation sister city
['Jaipur', 'sister city', 'Uromi'] ['Jaipur', 'sister city', 'Lusaghbyur, Aragatsotn']
ASK WHERE { resource:Jaipur property:sister_city resource:Uromi . resource:Jaipur property:sister_city resource:Lusaghbyur,_Aragatsotn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66485
P30
Q2221906
USER
Where is that city situated ?
action filter_type
action find
entity Q66485
relation P30
type Q2221906
SELECT DISTINCT ?v WHERE { resource:Q66485 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Jaipur
action filter_type
action find
entity Jaipur
relation continent
type geographic location
SELECT DISTINCT ?v WHERE { resource:Jaipur property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
action filter_type
action find
entity Q66485
relation P30
type Q2221906
That city is situated in [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q66485 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Asia
That city is situated in Asia
Asia
action filter_type
action find
entity Jaipur
relation continent
type geographic location
SELECT DISTINCT ?v WHERE { resource:Jaipur property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q811430 Q2221906
USER
How many geographic locations are parts of around the same number of constructions as that geographic location ?
(c(Q2221906),P361,c(Q811430))
action count
action approx
action find_tuple_counts
relation P361
type Q2221906
type Q811430
action count
action filter_type
action find
entity Q48
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?a ) WHERE { ?u property:P361 ?r . ?u rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q811430 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q48 property:P361 ?t . ?t rdf:type ontology:Q2221906 } } . FILTER ( ?a = ?f ) }
action count
action approx
action find_tuple_counts
relation part of
type geographic location
type construction
action count
action filter_type
action find
entity Asia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?a ) WHERE { ?u property:part_of ?r . ?u rdf:type ontology:geographic_location . ?r rdf:type ontology:construction } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Asia property:part_of ?t . ?t rdf:type ontology:geographic_location } } . FILTER ( ?a = ?f ) }
[]
construction geographic location
SYSTEM
280
Q20652829 Q20743921 Q3214576 Q14684867 Q7191008 Q325358 Q2419662 Q431907 Q7580722 Q58805 Q14685109 Q3391469 Q315496 Q7209560 Q14684666 Q6550421 Q27509 Q956300 Q126063 Q3048968 Q16680564 Q7784279 Q3047192 Q1496967 Q3468036 Q6398365 Q5259261 Q15206028 Q6084417 Q7268308 Q14324291 Q46 Q213137 Q14714685 Q121359 Q2946756 Q5290039 Q1349167 Q1068071 Q3956460 Q184430 Q3960 Q2036701 Q1234060 Q1737467 Q14685112 Q2249285 Q7996880 Q215680 Q14287866 Q3961951 Q7540974 Q1129992 Q3627664 Q14705212 Q1134503 Q703480 Q1634214 Q14684518 Q3030613 Q896446 Q11708 Q3306046 Q1049115 Q49 Q3333384 Q15211098 Q3593127 Q3242386 Q14713610 Q690971 Q6436607 Q14713596 Q5088912 Q14714846 Q6029137 Q14323356 Q2946746 Q470049 Q3746596 Q266703 Q14705355 Q14294968 Q7080963 Q7080962 Q7080961 Q1413444 Q12612 Q16827917 Q23001306 Q1188034 Q106259 Q3074486 Q20743939 Q164585 Q183324 Q16894244 Q7567991 Q7811491 Q1997843 Q16892114 Q968680 Q3830220 Q7191014 Q11973034 Q4777 Q5506931 Q5597624 Q14713936 Q286476 Q3519009 Q816104 Q3271856 Q14204659 Q15202826 Q3077423 Q575289 Q5051042 Q3781293 Q3476035 Q4442156 Q1156728 Q1762154 Q14684882 Q1051581 Q3503423 Q6922487 Q14704530 Q24694968 Q6367444 Q1998497 Q198927 Q198926 Q14223170 Q155353 Q16868895 Q14711841 Q829767 Q14713790 Q10480343 Q20655529 Q667529 Q3880745 Q2333134 Q1782291 Q4260475 Q190031 Q1555938 Q6269482 Q207520 Q1432092 Q828 Q2364623 Q498794 Q20652757 Q2680496 Q1411784 Q16845327 Q4942152 Q128952 Q27293 Q14714809 Q18869 Q15 Q3922925 Q12409135 Q811979 Q5477842 Q1555247 Q5313947 Q14685140 Q459173 Q473935 Q1439394 Q7418932 Q14709821 Q2017699 Q1130721 Q526644 Q14714818 Q27700889 Q3646551 Q27433 Q5744091 Q854155 Q3382521 Q20743940 Q14685019 Q512573 Q14705314 Q14685159 Q701658 Q1495886 Q1058792 Q4868203 Q5064905 Q6488761 Q2946769 Q771405 Q3539 Q1292279 Q5455002 Q14704540 Q16326607 Q358877 Q3832650 Q7708397 Q390516 Q27275 Q3423535 Q20743937 Q20743945 Q20743944 Q20743943 Q6921525 Q194188 Q681861 Q5411271 Q669037 Q4876461 Q1438691 Q14874585 Q51 Q18048387 Q6649684 Q2160991 Q18752601 Q213704 Q18 Q805727 Q14713886 Q22602 Q5002651 Q4533920 Q14711877 Q4754057 Q81851 Q2015709 Q27496 Q3518514 Q3215913 Q2402047 Q8502 Q538 Q48 Q3555010 Q16892238 Q21491032 Q17197321 Q14684324 Q27561 Q7191015 Q14687288 Q7191011 Q14714702 Q27701408 Q2565366 Q205895 Q6664252 Q6887502 Q4849355 Q183464 Q2066176 Q14951375 Q6101019 Q3214330 Q16893544 Q3479940 Q948516 Q15238659 Q15213747 Q702543 Q19603939 Q2879440 Q6159576 Q14685085 Q719456 Q14685083 Q3906785 Q14705259
(c(Q2221906),P361,c(Q811430))
action count
action approx
action find_tuple_counts
relation P361
type Q2221906
type Q811430
action count
action filter_type
action find
entity Q48
relation P361
type Q2221906
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?a ) WHERE { ?u property:P361 ?r . ?u rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q811430 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q48 property:P361 ?t . ?t rdf:type ontology:Q2221906 } } . FILTER ( ?a = ?f ) }
Kendjija unda labyrinthus Kokomo Pass Pico El León railway platform chaos terrain Sierra de la Culata Spring Valley Galactic corona Stone Man Pass planitia Upper Harz police area Jones Pass (Colorado) Lincoln-Herndon Law Offices State Historic Site Central Europe tholus Auyantepui Mount Upuigma Tour Percée Thin disk Pico Piedras Blancas territorial entity Pogromni Volcano Keyport Harbor patera Burrage Dome Islip Saddle quadrangle South European Russia Europe East Indies Clayton Mountain infrastructure Cerro Jaua Domen Butte ground station chasma Western Polesie Zeelandic Flanders Australia Santa María la Mayor Riesalb Norital Stony Pass vallis Whittier Narrows tectonic plate Red Sea Coast sinus Slithallet Slope Le Morne Brabant astrum McAfee Peak corona Letoon Volga Region Georgia Pass Thick disk Upland Southeast Asia mensa Galactic anticenter North America Mesogaea Cockedhat Mountain Madeline Island New Territories East Clark Mountain (Washington) Breisgau Kreiling Mesa Big Lava Bed Cheat Mountain Sunbeam Peak Kordoleon Dvinska land and Vazhsky krai Cerro Aracamuni American Highland flexus Salzkammergut Mount Avalon West Coast (Crimea) Ohio State University, Newark Campus Ohio State University, Marion Campus Ohio State University, Mansfield Campus macula Western United States American Legion Peak part of land Pico Humboldt polder flumen satellite feature Turan Transoxiana Little Truckee Summit South Mountain Tobacco Root Mountains North Eifel Harrower Peak Aprada-tepui lenticula Pico La Concha Gray Zone Mount Roraima Fuchs Dome Grassy Ridge West Crater Cerro Marahuaca tessera Belmont Courthouse State Historic Park South Bay Badlands and Black Hills Bold Peak large ringed feature Mühlviertel Cat Island Dubai Studio City scopulus Steppe Crimea domestic roof construction Little Switzerland Lake Pass albedo feature sulcus Mount Oglethorpe Ch-paa-qn Peak Bute Docks Kar Plateau North Eastern Europe Ziel-2-Region Ziel-1-Region Lower Mesopotamia Dornbusch Abo Canyon Mount Powell (Utah) Besengau Lemei Rock Ehrenstrahlsalongen South Pacific Blue Mountains oceanus Kukenán-tepui Sarisariñama medical facility Central Arabia Antarctic Joint Warfare Centre list of regions of Japan rille Americas Dauria crater chain Karapanđa Pasteur Peninsula Western Palatinate Bow Mountain Bonnabeau Dome facula Western Asia Muddy Mountain Caucasus Africa promontorium index mineral architectural structure Fram Mesa North Palatinate Dumont Dunes Vasquez Pass Challenger Deep rift fossa Sans Bois Mountains Bote Mountain Northern America Algodones Dunes pancake dome Pinnacle Ridge normal zero Pico Bonpland Central Africa Herring Bay Bulge Pico El Águila fretum Never Summer Mountains lingula Winnemucca Mountain Webster Pass (Colorado) Mecklenburg Lake District Gau Jom fluctus Basswood Island Cerro Duida Larch Mountain Cerro Socopó South Asia Aircraft Operations Center political border Fishing Bay Deer Lodge Pass Inkerman Bay cavus linea planum control room Central Asia regio arcus virga serpens reticulum Mount Josephine spaceport Nuestra Señora de Loreto Eureka Valley Sand Dunes West Indies Bear Island Fort Rock Basin Custer Ridge Antarctica Central Andes Little Creek Peak Roden Crater fence pillar Pico Bolívar South America Baltics Sawtooth Mountain Vorderpfalz Butler Street Gatehouse Yuzhnaya Bay South Kings Peak Anderson Dome bastion Serranía del Perijá Western Europe terra lacus insula mountain Oceania Asia vastitas Henderson Peak Lower Harz Cherkashchina Boulder-Grand Pass Caribbean Netherlands Pico Pan de Azúcar Reas Pass Pico El Toro Downs Mountain average Mediterranean Sea level in Ajaccio West Hesse Depression landmass Local Sheet Moccasin Gap Bakhallet Slope Livonia rupes Torrey Peak, Wyoming Ix labes Knife Point Mountain Serranía de Los Motilones palus Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland building component Chequamegon Bay Jarbidge Mountains Searle Pass station Rogers Pass (Colorado) plume Porter Peak
280
action count
action approx
action find_tuple_counts
relation part of
type geographic location
type construction
action count
action filter_type
action find
entity Asia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?a ) WHERE { ?u property:part_of ?r . ?u rdf:type ontology:geographic_location . ?r rdf:type ontology:construction } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Asia property:part_of ?t . ?t rdf:type ontology:geographic_location } } . FILTER ( ?a = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9044520 Q155
P17
Q15617994
USER
Which administrative territories are Brazil or Shiloh Township present in ?
OR((Q155,P17,c(Q15617994)), (Q9044520,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P17
action find
entity Q9044520
relation P17
type Q15617994
{'OR': [['Q155', 'P17', {'concept': 'Q15617994'}], ['Q9044520', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q9044520 ) } . ?a property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
Shiloh Township Brazil
action filter_type
action union
action find
entity Brazil
relation country
action find
entity Shiloh Township
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Shiloh Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Brazil ) ( resource:Shiloh_Township ) } . ?a property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q155,P17,c(Q15617994)), (Q9044520,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P17
action find
entity Q9044520
relation P17
type Q15617994
Brazil or Shiloh Township are in [ANSWERS]
{'OR': [['Q155', 'P17', {'concept': 'Q15617994'}], ['Q9044520', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q9044520 ) } . ?a property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil or Shiloh Township are in Brazil and United States of America
Brazil United States of America
action filter_type
action union
action find
entity Brazil
relation country
action find
entity Shiloh Township
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Shiloh Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Brazil ) ( resource:Shiloh_Township ) } . ?a property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]