Simple Question (Direct)
Simple Question
Q1001647
P47
Q515
USER
Which city shares border with Budyně nad Ohří ?
(Q1001647,P47,c(Q515))
action filter_type
action find
entity Q1001647
relation P47
type Q515
['Q1001647', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q1001647 property:P47 ?i . ?i rdf:type ontology:Q515 }
Budyně nad Ohří
action filter_type
action find
entity Budyně nad Ohří
relation shares border with
type city
['Budyně nad Ohří', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Budyně_nad_Ohří property:shares_border_with ?i . ?i rdf:type ontology:city }
[]
city
Q1010617
SYSTEM
Libochovice
Q1010617
(Q1001647,P47,c(Q515))
action filter_type
action find
entity Q1001647
relation P47
type Q515
[ANSWER] shares border with Budyně nad Ohří
['Q1001647', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q1001647 property:P47 ?i . ?i rdf:type ontology:Q515 }
Libochovice
Libochovice shares border with Budyně nad Ohří
Libochovice
action filter_type
action find
entity Budyně nad Ohří
relation shares border with
type city
['Budyně nad Ohří', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Budyně_nad_Ohří property:shares_border_with ?i . ?i rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1010617
P17
Q15617994
USER
Which administrative territory is that city located in ?
(Q1010617,P17,c(Q15617994))
action filter_type
action find
entity Q1010617
relation P17
type Q15617994
['Q1010617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1010617 property:P17 ?s }
Libochovice
action filter_type
action find
entity Libochovice
relation country
type designation for an administrative territorial entity
['Libochovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Libochovice property:country ?s }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1010617,P17,c(Q15617994))
action filter_type
action find
entity Q1010617
relation P17
type Q15617994
That city is located in [ANSWER]
['Q1010617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1010617 property:P17 ?s }
Czech Republic
That city is located in Czech Republic
Czech Republic
action filter_type
action find
entity Libochovice
relation country
type designation for an administrative territorial entity
['Libochovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Libochovice property:country ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q213 Q12025475 Q161671
P6
Q502895
USER
Does that administrative territory have a government lead by Jiří Rusnok and Jiří Paroubek ?
(Q213,P6,Q12025475) (Q213,P6,Q161671)
action is_in
entity Q213
action intersection
action find_reverse
entity Q12025475
relation P6
action find_reverse
entity Q161671
relation P6
['Q213', 'P6', 'Q12025475'] ['Q213', 'P6', 'Q161671']
ASK WHERE { resource:Q213 property:P6 resource:Q12025475 . resource:Q213 property:P6 resource:Q161671 }
Czech Republic Jiří Rusnok Jiří Paroubek
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Jiří Rusnok
relation head of government
action find_reverse
entity Jiří Paroubek
relation head of government
['Czech Republic', 'head of government', 'Jiří Rusnok'] ['Czech Republic', 'head of government', 'Jiří Paroubek']
ASK WHERE { resource:Czech_Republic property:head_of_government resource:Jiří_Rusnok . resource:Czech_Republic property:head_of_government resource:Jiří_Paroubek }
[]
common name
SYSTEM
YES
(Q213,P6,Q12025475) (Q213,P6,Q161671)
action is_in
entity Q213
action intersection
action find_reverse
entity Q12025475
relation P6
action find_reverse
entity Q161671
relation P6
[ANSWER]
['Q213', 'P6', 'Q12025475'] ['Q213', 'P6', 'Q161671']
ASK WHERE { resource:Q213 property:P6 resource:Q12025475 . resource:Q213 property:P6 resource:Q161671 }
Yes
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Jiří Rusnok
relation head of government
action find_reverse
entity Jiří Paroubek
relation head of government
['Czech Republic', 'head of government', 'Jiří Rusnok'] ['Czech Republic', 'head of government', 'Jiří Paroubek']
ASK WHERE { resource:Czech_Republic property:head_of_government resource:Jiří_Rusnok . resource:Czech_Republic property:head_of_government resource:Jiří_Paroubek }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1001647 Q213
P17
Q15617994
USER
Does Budyně nad Ohří belong to Czech Republic ?
(Q1001647,P17,Q213)
action is_in
entity Q213
action find
entity Q1001647
relation P17
['Q1001647', 'P17', 'Q213']
ASK WHERE { resource:Q1001647 property:P17 resource:Q213 }
Budyně nad Ohří Czech Republic
action is_in
entity Czech Republic
action find
entity Budyně nad Ohří
relation country
['Budyně nad Ohří', 'country', 'Czech Republic']
ASK WHERE { resource:Budyně_nad_Ohří property:country resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1001647,P17,Q213)
action is_in
entity Q213
action find
entity Q1001647
relation P17
[ANSWER]
['Q1001647', 'P17', 'Q213']
ASK WHERE { resource:Q1001647 property:P17 resource:Q213 }
Yes
action is_in
entity Czech Republic
action find
entity Budyně nad Ohří
relation country
['Budyně nad Ohří', 'country', 'Czech Republic']
ASK WHERE { resource:Budyně_nad_Ohří property:country resource:Czech_Republic }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q733 Q213
P463
Q484652
USER
Which international organizations were Czech Republic or Paraguay a member of ?
OR((Q213,P463,c(Q484652)), (Q733,P463,c(Q484652)))
action filter_type
action union
action find
entity Q213
relation P463
action find
entity Q733
relation P463
type Q484652
{'OR': [['Q213', 'P463', {'concept': 'Q484652'}], ['Q733', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q733 property:P463 ?r } UNION { resource:Q213 property:P463 ?r } } . ?r rdf:type ontology:Q484652 }
Paraguay Czech Republic
action filter_type
action union
action find
entity Czech Republic
relation member of
action find
entity Paraguay
relation member of
type international organization
{'OR': [['Czech Republic', 'member of', {'concept': 'international organization'}], ['Paraguay', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Paraguay property:member_of ?r } UNION { resource:Czech_Republic property:member_of ?r } } . ?r rdf:type ontology:international_organization }
[]
international organization
Q81299 Q4230 Q1065 Q471690 Q7184 Q42262 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, Union of South American Nations, United Nations, Andean Community of Nations, North Atlantic Treaty Organisation, European Space Agency, Multilateral Investment Guarantee Agency
Q81299 Q4230 Q1065 Q471690 Q7184 Q42262 Q1043527
OR((Q213,P463,c(Q484652)), (Q733,P463,c(Q484652)))
action filter_type
action union
action find
entity Q213
relation P463
action find
entity Q733
relation P463
type Q484652
The [ANSWERS] were Czech Republic or Paraguay a member of
{'OR': [['Q213', 'P463', {'concept': 'Q484652'}], ['Q733', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q733 property:P463 ?r } UNION { resource:Q213 property:P463 ?r } } . ?r rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Union of South American Nations United Nations Andean Community of Nations North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
The Organization for Security and Co-operation in Europe, Union of South American Nations, United Nations, Andean Community of Nations, North Atlantic Treaty Organisation, European Space Agency and Multilateral Investment Guarantee Agency were Czech Republic or Paraguay a member of
Organization for Security and Co-operation in Europe Union of South American Nations United Nations Andean Community of Nations North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
action filter_type
action union
action find
entity Czech Republic
relation member of
action find
entity Paraguay
relation member of
type international organization
{'OR': [['Czech Republic', 'member of', {'concept': 'international organization'}], ['Paraguay', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Paraguay property:member_of ?r } UNION { resource:Czech_Republic property:member_of ?r } } . ?r rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q213 Q1001647
P47 P17
Q486972
USER
Which human settlements are next to the border of Budyně nad Ohří and are situated in Czech Republic ?
AND((c(Q486972),P47,Q1001647), (c(Q486972),P17,Q213))
action filter_type
action intersection
action find_reverse
entity Q1001647
relation P47
action find_reverse
entity Q213
relation P17
type Q486972
{'AND': [[{'concept': 'Q486972'}, 'P47', 'Q1001647'], [{'concept': 'Q486972'}, 'P17', 'Q213']]}
SELECT DISTINCT ?j WHERE { ?j property:P47 resource:Q1001647 . ?j property:P17 resource:Q213 . ?j rdf:type ontology:Q486972 }
Czech Republic Budyně nad Ohří
action filter_type
action intersection
action find_reverse
entity Budyně nad Ohří
relation shares border with
action find_reverse
entity Czech Republic
relation country
type human settlement
{'AND': [[{'concept': 'human settlement'}, 'shares border with', 'Budyně nad Ohří'], [{'concept': 'human settlement'}, 'country', 'Czech Republic']]}
SELECT DISTINCT ?j WHERE { ?j property:shares_border_with resource:Budyně_nad_Ohří . ?j property:country resource:Czech_Republic . ?j rdf:type ontology:human_settlement }
[]
human settlement
Q2447012
SYSTEM
Brozany nad Ohří
Q2447012
AND((c(Q486972),P47,Q1001647), (c(Q486972),P17,Q213))
action filter_type
action intersection
action find_reverse
entity Q1001647
relation P47
action find_reverse
entity Q213
relation P17
type Q486972
[ANSWER] is next to the border of Budyně nad Ohří and is situated in Czech Republic
{'AND': [[{'concept': 'Q486972'}, 'P47', 'Q1001647'], [{'concept': 'Q486972'}, 'P17', 'Q213']]}
SELECT DISTINCT ?j WHERE { ?j property:P47 resource:Q1001647 . ?j property:P17 resource:Q213 . ?j rdf:type ontology:Q486972 }
Brozany nad Ohří
Brozany nad Ohří is next to the border of Budyně nad Ohří and is situated in Czech Republic
Brozany nad Ohří
action filter_type
action intersection
action find_reverse
entity Budyně nad Ohří
relation shares border with
action find_reverse
entity Czech Republic
relation country
type human settlement
{'AND': [[{'concept': 'human settlement'}, 'shares border with', 'Budyně nad Ohří'], [{'concept': 'human settlement'}, 'country', 'Czech Republic']]}
SELECT DISTINCT ?j WHERE { ?j property:shares_border_with resource:Budyně_nad_Ohří . ?j property:country resource:Czech_Republic . ?j rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4855993 Q7184
P159
Q56061
USER
Which administrative territories are the HQ of North Atlantic Treaty Organisation or Bank West ?
OR((Q7184,P159,c(Q56061)), (Q4855993,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7184
relation P159
action find
entity Q4855993
relation P159
type Q56061
{'OR': [['Q7184', 'P159', {'concept': 'Q56061'}], ['Q4855993', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Q7184 ) ( resource:Q4855993 ) } . ?a property:P159 ?i } . ?i rdf:type ontology:Q56061 }
Bank West North Atlantic Treaty Organisation
action filter_type
action union
action find
entity North Atlantic Treaty Organisation
relation headquarters location
action find
entity Bank West
relation headquarters location
type administrative territorial entity
{'OR': [['North Atlantic Treaty Organisation', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Bank West', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:North_Atlantic_Treaty_Organisation ) ( resource:Bank_West ) } . ?a property:headquarters_location ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1743705 Q239
SYSTEM
High River, Brussels
Q1743705 Q239
OR((Q7184,P159,c(Q56061)), (Q4855993,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7184
relation P159
action find
entity Q4855993
relation P159
type Q56061
[ANSWERS] are the HQ of North Atlantic Treaty Organisation or Bank West
{'OR': [['Q7184', 'P159', {'concept': 'Q56061'}], ['Q4855993', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Q7184 ) ( resource:Q4855993 ) } . ?a property:P159 ?i } . ?i rdf:type ontology:Q56061 }
High River Brussels
High River and Brussels are the HQ of North Atlantic Treaty Organisation or Bank West
High River Brussels
action filter_type
action union
action find
entity North Atlantic Treaty Organisation
relation headquarters location
action find
entity Bank West
relation headquarters location
type administrative territorial entity
{'OR': [['North Atlantic Treaty Organisation', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Bank West', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:North_Atlantic_Treaty_Organisation ) ( resource:Bank_West ) } . ?a property:headquarters_location ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q2342494 Q166142
USER
Which administrative territories are exactly 5 collectables and applications set in ?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
value 5
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?c WHERE { { ?v rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q56061 . ?v property:P840 ?c } UNION { ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q166142 . ?v property:P840 ?c } } GROUP BY ?c } . FILTER ( ?j = 5 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
value 5
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?c WHERE { { ?v rdf:type ontology:collectable . ?c rdf:type ontology:administrative_territorial_entity . ?v property:narrative_location ?c } UNION { ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:application . ?v property:narrative_location ?c } } GROUP BY ?c } . FILTER ( ?j = 5 ) }
[]
administrative territorial entity collectable application
Q16555 Q1425428 Q42462
SYSTEM
Houston, Newcastle upon Tyne, York
Q1425428 Q16555 Q42462 Q852778
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
value 5
Exactly 5 collectables and applications are set in [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?c WHERE { { ?v rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q56061 . ?v property:P840 ?c } UNION { ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q166142 . ?v property:P840 ?c } } GROUP BY ?c } . FILTER ( ?j = 5 ) }
Newcastle upon Tyne Houston York Whitby
Exactly 5 collectables and applications are set in Houston, Newcastle upon Tyne and York
Houston Newcastle upon Tyne York
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
value 5
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?c WHERE { { ?v rdf:type ontology:collectable . ?c rdf:type ontology:administrative_territorial_entity . ?v property:narrative_location ?c } UNION { ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:application . ?v property:narrative_location ?c } } GROUP BY ?c } . FILTER ( ?j = 5 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P740
Q43229 Q2088357
USER
How many organizations and musical ensembles were formed at that administrative territory ?
(c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462) (c(Q43229),P740,Q16555) (c(Q2088357),P740,Q16555) (c(Q43229),P740,Q1425428) (c(Q2088357),P740,Q1425428) (c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462)
[{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462'] [{'concept': 'Q43229'}, 'P740', 'Q16555'] [{'concept': 'Q2088357'}, 'P740', 'Q16555'] [{'concept': 'Q43229'}, 'P740', 'Q1425428'] [{'concept': 'Q2088357'}, 'P740', 'Q1425428'] [{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } UNION { ?z property:P740 resource:Q16845179 } UNION { ?y property:P740 resource:Q16845179 } UNION { ?z property:P740 resource:Q21012735 } UNION { ?y property:P740 resource:Q21012735 } UNION { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
[{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York'] [{'concept': 'organization'}, 'location of formation', 'Houston'] [{'concept': 'musical ensemble'}, 'location of formation', 'Houston'] [{'concept': 'organization'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'musical ensemble'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } UNION { ?z property:location_of_formation resource:Houston } UNION { ?y property:location_of_formation resource:Houston } UNION { ?z property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?y property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
organization musical ensemble
Quantitative|Count|Mult. entity type|Clarification
Q16555
SYSTEM
Did you mean Houston ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } UNION { ?z property:P740 resource:Q16845179 } UNION { ?y property:P740 resource:Q16845179 } UNION { ?z property:P740 resource:Q21012735 } UNION { ?y property:P740 resource:Q21012735 } UNION { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
Did you mean Houston ?
Houston
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } UNION { ?z property:location_of_formation resource:Houston } UNION { ?y property:location_of_formation resource:Houston } UNION { ?z property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?y property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant York. Could you tell me the answer for that?
(c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462) (c(Q43229),P740,Q16555) (c(Q2088357),P740,Q16555) (c(Q43229),P740,Q1425428) (c(Q2088357),P740,Q1425428) (c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462)
Q42462
[{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462'] [{'concept': 'Q43229'}, 'P740', 'Q16555'] [{'concept': 'Q2088357'}, 'P740', 'Q16555'] [{'concept': 'Q43229'}, 'P740', 'Q1425428'] [{'concept': 'Q2088357'}, 'P740', 'Q1425428'] [{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462']
[{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York'] [{'concept': 'organization'}, 'location of formation', 'Houston'] [{'concept': 'musical ensemble'}, 'location of formation', 'Houston'] [{'concept': 'organization'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'musical ensemble'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York']
[]
SYSTEM
1 organizations and 14 musical ensembles
Q7438926 Q15052895 Q7977497 Q6913399 Q1920679 Q1332301 Q4039464 Q731642 Q15044920 Q4738200 Q4187919 Q7743357 Q7277719 Q7155843 Q7762808
(c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462) (c(Q43229),P740,Q16555) (c(Q2088357),P740,Q16555) (c(Q43229),P740,Q1425428) (c(Q2088357),P740,Q1425428) (c(Q43229),P740,Q42462) (c(Q2088357),P740,Q42462)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462'] [{'concept': 'Q43229'}, 'P740', 'Q16555'] [{'concept': 'Q2088357'}, 'P740', 'Q16555'] [{'concept': 'Q43229'}, 'P740', 'Q1425428'] [{'concept': 'Q2088357'}, 'P740', 'Q1425428'] [{'concept': 'Q43229'}, 'P740', 'Q42462'] [{'concept': 'Q2088357'}, 'P740', 'Q42462']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } UNION { ?z property:P740 resource:Q16845179 } UNION { ?y property:P740 resource:Q16845179 } UNION { ?z property:P740 resource:Q21012735 } UNION { ?y property:P740 resource:Q21012735 } UNION { ?z property:P740 resource:Q8005344 } UNION { ?y property:P740 resource:Q8005344 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
Screaming Banshee Aircrew With One Last Breath We Could Be Astronauts Morpheus Rising Breathing Space Elliot Minor Glamour of the Kill Asking Alexandria Rick Witter & The Dukes Alvin Purple Club Smith The John Barry Seven RSJ Pavers Shoes The Seahorses
1 organizations and 14 musical ensembles
[{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York'] [{'concept': 'organization'}, 'location of formation', 'Houston'] [{'concept': 'musical ensemble'}, 'location of formation', 'Houston'] [{'concept': 'organization'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'musical ensemble'}, 'location of formation', 'Newcastle upon Tyne'] [{'concept': 'organization'}, 'location of formation', 'York'] [{'concept': 'musical ensemble'}, 'location of formation', 'York']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } UNION { ?z property:location_of_formation resource:Houston } UNION { ?y property:location_of_formation resource:Houston } UNION { ?z property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?y property:location_of_formation resource:Newcastle_upon_Tyne } UNION { ?z property:location_of_formation resource:York } UNION { ?y property:location_of_formation resource:York } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42462
P190
Q15617994
USER
Which administrative territory is sister town of that administrative territory ?
action filter_type
action find
entity Q42462
relation P190
type Q15617994
SELECT DISTINCT ?o WHERE { resource:Q42462 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
York
action filter_type
action find
entity York
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?o WHERE { resource:York property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2742
SYSTEM
Münster
Q2742
action filter_type
action find
entity Q42462
relation P190
type Q15617994
[ANSWER] is sister town of that administrative territory
SELECT DISTINCT ?o WHERE { resource:Q42462 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Münster
Münster is sister town of that administrative territory
Münster
action filter_type
action find
entity York
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?o WHERE { resource:York property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]