Simple Question (Direct)
Simple Question
Q2120678
P463
Q484652
USER
Which international organization was Johan van Hulst a member of ?
(Q2120678,P463,c(Q484652))
action filter_type
action find
entity Q2120678
relation P463
type Q484652
['Q2120678', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q484652 . resource:Q2120678 property:P463 ?t }
Johan van Hulst
action filter_type
action find
entity Johan van Hulst
relation member of
type international organization
['Johan van Hulst', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:international_organization . resource:Johan_van_Hulst property:member_of ?t }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q2120678,P463,c(Q484652))
action filter_type
action find
entity Q2120678
relation P463
type Q484652
The [ANSWER] was Johan van Hulst a member of
['Q2120678', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q484652 . resource:Q2120678 property:P463 ?t }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe was Johan van Hulst a member of
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Johan van Hulst
relation member of
type international organization
['Johan van Hulst', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:international_organization . resource:Johan_van_Hulst property:member_of ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2120678
P937
Q515
USER
Which is the work location of that person ?
(Q939743,P937,c(Q515))
action filter_type
action find
entity Q2120678
relation P937
type Q515
['Q939743', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q2120678 property:P937 ?f }
Johan van Hulst
action filter_type
action find
entity Johan van Hulst
relation work location
type city
['Parliamentary Assembly of the Council of Europe', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Johan_van_Hulst property:work_location ?f }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q939743,P937,c(Q515))
action filter_type
action find
entity Q2120678
relation P937
type Q515
The work location of that person is in [ANSWER]
['Q939743', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q2120678 property:P937 ?f }
Strasbourg
The work location of that person is in Strasbourg
Strasbourg
action filter_type
action find
entity Johan van Hulst
relation work location
type city
['Parliamentary Assembly of the Council of Europe', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Johan_van_Hulst property:work_location ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6602 Q406 Q1957
P190
Q56061
USER
Is that city sister town of Istanbul and Vologda ?
(Q6602,P190,Q406) (Q6602,P190,Q1957)
action is_in
entity Q6602
action intersection
action find_reverse
entity Q406
relation P190
action find_reverse
entity Q1957
relation P190
['Q6602', 'P190', 'Q406'] ['Q6602', 'P190', 'Q1957']
ASK WHERE { resource:Q6602 property:P190 resource:Q406 . resource:Q6602 property:P190 resource:Q1957 }
Strasbourg Istanbul Vologda
action is_in
entity Strasbourg
action intersection
action find_reverse
entity Istanbul
relation sister city
action find_reverse
entity Vologda
relation sister city
['Strasbourg', 'sister city', 'Istanbul'] ['Strasbourg', 'sister city', 'Vologda']
ASK WHERE { resource:Strasbourg property:sister_city resource:Istanbul . resource:Strasbourg property:sister_city resource:Vologda }
[]
administrative territorial entity
SYSTEM
YES
(Q6602,P190,Q406) (Q6602,P190,Q1957)
action is_in
entity Q6602
action intersection
action find_reverse
entity Q406
relation P190
action find_reverse
entity Q1957
relation P190
[ANSWER]
['Q6602', 'P190', 'Q406'] ['Q6602', 'P190', 'Q1957']
ASK WHERE { resource:Q6602 property:P190 resource:Q406 . resource:Q6602 property:P190 resource:Q1957 }
Yes
action is_in
entity Strasbourg
action intersection
action find_reverse
entity Istanbul
relation sister city
action find_reverse
entity Vologda
relation sister city
['Strasbourg', 'sister city', 'Istanbul'] ['Strasbourg', 'sister city', 'Vologda']
ASK WHERE { resource:Strasbourg property:sister_city resource:Istanbul . resource:Strasbourg property:sister_city resource:Vologda }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6602 Q3806
P937
Q502895
USER
How many people have Strasbourg and Tübingen as their work location ?
(c(Q502895),P937,Q6602) (c(Q502895),P937,Q3806)
action count
action intersection
action filter_type
action find_reverse
entity Q6602
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3806
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q6602'] [{'concept': 'Q502895'}, 'P937', 'Q3806']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P937 resource:Q3806 . ?i rdf:type ontology:Q502895 . ?i property:P937 resource:Q6602 . ?i rdf:type ontology:Q502895 }
Strasbourg Tübingen
action count
action intersection
action filter_type
action find_reverse
entity Strasbourg
relation work location
type common name
action filter_type
action find_reverse
entity Tübingen
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Strasbourg'] [{'concept': 'common name'}, 'work location', 'Tübingen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:work_location resource:Tübingen . ?i rdf:type ontology:common_name . ?i property:work_location resource:Strasbourg . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
11
Q1633402 Q15821356 Q2544474 Q896685 Q68093 Q2218996 Q103534 Q214522 Q1271148 Q1357345 Q91527
(c(Q502895),P937,Q6602) (c(Q502895),P937,Q3806)
action count
action intersection
action filter_type
action find_reverse
entity Q6602
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3806
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q6602'] [{'concept': 'Q502895'}, 'P937', 'Q3806']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P937 resource:Q3806 . ?i rdf:type ontology:Q502895 . ?i property:P937 resource:Q6602 . ?i rdf:type ontology:Q502895 }
Hubert Schrade Johann Nikolaus Myler ab Ehrenbach Walter Goetz Georg Dehio Ludolf von Krehl Samuel Behr Wilfried Stroh Johann Wolff Thomas Anshelm Ernst Anrich Theobald Ziegler
11
action count
action intersection
action filter_type
action find_reverse
entity Strasbourg
relation work location
type common name
action filter_type
action find_reverse
entity Tübingen
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Strasbourg'] [{'concept': 'common name'}, 'work location', 'Tübingen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:work_location resource:Tübingen . ?i rdf:type ontology:common_name . ?i property:work_location resource:Strasbourg . ?i rdf:type ontology:common_name }
[]