Simple Question (Direct)
Simple Question
Q6204623
P166
Q618779
USER
What was won by Arvid Taube ?
(Q6204623,P166,c(Q618779))
action filter_type
action find
entity Q6204623
relation P166
type Q618779
['Q6204623', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q6204623 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Arvid Taube
action filter_type
action find
entity Arvid Taube
relation award received
type award
['Arvid Taube', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Arvid_Taube property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q1331130
SYSTEM
Royal Order of the Seraphim
Q1331130
(Q6204623,P166,c(Q618779))
action filter_type
action find
entity Q6204623
relation P166
type Q618779
The [ANSWER] was won by Arvid Taube
['Q6204623', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q6204623 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Royal Order of the Seraphim
The Royal Order of the Seraphim was won by Arvid Taube
Royal Order of the Seraphim
action filter_type
action find
entity Arvid Taube
relation award received
type award
['Arvid Taube', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Arvid_Taube property:award_received ?n . ?n rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q6204623
P26 P21
Q502895
USER
Which people have Arvid Taube as spouse and are a female ?
AND((c(Q502895),P26,Q6204623), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6204623
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q6204623'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P21 resource:Q6581072 . ?e property:P26 resource:Q6204623 . ?e rdf:type ontology:Q502895 }
female Arvid Taube
action filter_type
action intersection
action find_reverse
entity Arvid Taube
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Arvid Taube'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:gender resource:female . ?e property:spouse resource:Arvid_Taube . ?e rdf:type ontology:common_name }
[]
common name
Q16602196
SYSTEM
Helene Taube
Q16602196
AND((c(Q502895),P26,Q6204623), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6204623
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Arvid Taube as spouse and are a female
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q6204623'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P21 resource:Q6581072 . ?e property:P26 resource:Q6204623 . ?e rdf:type ontology:Q502895 }
Helene Taube
Helene Taube have Arvid Taube as spouse and are a female
Helene Taube
action filter_type
action intersection
action find_reverse
entity Arvid Taube
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Arvid Taube'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:gender resource:female . ?e property:spouse resource:Arvid_Taube . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P26
Q502895
USER
How many people are the life partner of that person ?
(c(Q502895),P26,Q16602196)
action count
action filter_type
action find_reverse
entity Q16602196
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16602196']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P26 resource:Q16602196 . ?d rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Helene Taube
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Helene Taube']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:spouse resource:Helene_Taube . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q6204623
(c(Q502895),P26,Q16602196)
action count
action filter_type
action find_reverse
entity Q16602196
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q16602196']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P26 resource:Q16602196 . ?d rdf:type ontology:Q502895 }
Arvid Taube
1
action count
action filter_type
action find_reverse
entity Helene Taube
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Helene Taube']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:spouse resource:Helene_Taube . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6192483 Q6204623
P27
Q15617994
USER
Which administrative territories are Arvid Taube or Lennart Stridsberg an inhabitant of ?
OR((Q6204623,P27,c(Q15617994)), (Q6192483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6204623
relation P27
action find
entity Q6192483
relation P27
type Q15617994
{'OR': [['Q6204623', 'P27', {'concept': 'Q15617994'}], ['Q6192483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q6204623 property:P27 ?r } UNION { resource:Q6192483 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Lennart Stridsberg Arvid Taube
action filter_type
action union
action find
entity Arvid Taube
relation country of citizenship
action find
entity Lennart Stridsberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arvid Taube', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lennart Stridsberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Arvid_Taube property:country_of_citizenship ?r } UNION { resource:Lennart_Stridsberg property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
OR((Q6204623,P27,c(Q15617994)), (Q6192483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6204623
relation P27
action find
entity Q6192483
relation P27
type Q15617994
[ANSWER] is Arvid Taube or Lennart Stridsberg an inhabitant of
{'OR': [['Q6204623', 'P27', {'concept': 'Q15617994'}], ['Q6192483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q6204623 property:P27 ?r } UNION { resource:Q6192483 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Sweden
Sweden is Arvid Taube or Lennart Stridsberg an inhabitant of
Sweden
action filter_type
action union
action find
entity Arvid Taube
relation country of citizenship
action find
entity Lennart Stridsberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arvid Taube', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lennart Stridsberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Arvid_Taube property:country_of_citizenship ?r } UNION { resource:Lennart_Stridsberg property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q34 Q1967903 Q1747906
P463
Q484652
USER
Does that administrative territory have a membership of European and Mediterranean Plant Protection Organization and Confederation ?
(Q34,P463,Q1967903) (Q34,P463,Q1747906)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1967903
relation P463
action find_reverse
entity Q1747906
relation P463
['Q34', 'P463', 'Q1967903'] ['Q34', 'P463', 'Q1747906']
ASK WHERE { resource:Q34 property:P463 resource:Q1967903 . resource:Q34 property:P463 resource:Q1747906 }
Sweden European and Mediterranean Plant Protection Organization Confederation
action is_in
entity Sweden
action intersection
action find_reverse
entity European and Mediterranean Plant Protection Organization
relation member of
action find_reverse
entity Confederation
relation member of
['Sweden', 'member of', 'European and Mediterranean Plant Protection Organization'] ['Sweden', 'member of', 'Confederation']
ASK WHERE { resource:Sweden property:member_of resource:European_and_Mediterranean_Plant_Protection_Organization . resource:Sweden property:member_of resource:Confederation }
[]
international organization
SYSTEM
NO
(Q34,P463,Q1967903) (Q34,P463,Q1747906)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1967903
relation P463
action find_reverse
entity Q1747906
relation P463
[ANSWER]
['Q34', 'P463', 'Q1967903'] ['Q34', 'P463', 'Q1747906']
ASK WHERE { resource:Q34 property:P463 resource:Q1967903 . resource:Q34 property:P463 resource:Q1747906 }
No
action is_in
entity Sweden
action intersection
action find_reverse
entity European and Mediterranean Plant Protection Organization
relation member of
action find_reverse
entity Confederation
relation member of
['Sweden', 'member of', 'European and Mediterranean Plant Protection Organization'] ['Sweden', 'member of', 'Confederation']
ASK WHERE { resource:Sweden property:member_of resource:European_and_Mediterranean_Plant_Protection_Organization . resource:Sweden property:member_of resource:Confederation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6204623 Q16602196
P26
Q502895
USER
Is Helene Taube married to Arvid Taube ?
(Q6204623,P26,Q16602196)
action is_in
entity Q16602196
action find
entity Q6204623
relation P26
['Q6204623', 'P26', 'Q16602196']
ASK WHERE { resource:Q6204623 property:P26 resource:Q16602196 }
Arvid Taube Helene Taube
action is_in
entity Helene Taube
action find
entity Arvid Taube
relation spouse
['Arvid Taube', 'spouse', 'Helene Taube']
ASK WHERE { resource:Arvid_Taube property:spouse resource:Helene_Taube }
[]
common name
SYSTEM
YES
(Q6204623,P26,Q16602196)
action is_in
entity Q16602196
action find
entity Q6204623
relation P26
[ANSWER]
['Q6204623', 'P26', 'Q16602196']
ASK WHERE { resource:Q6204623 property:P26 resource:Q16602196 }
Yes
action is_in
entity Helene Taube
action find
entity Arvid Taube
relation spouse
['Arvid Taube', 'spouse', 'Helene Taube']
ASK WHERE { resource:Arvid_Taube property:spouse resource:Helene_Taube }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34 Q4441908
P47
Q1048835
USER
Is Stepanivka adjacent to Sweden ?
(Q34,P47,Q4441908)
action is_in
entity Q4441908
action find
entity Q34
relation P47
['Q34', 'P47', 'Q4441908']
ASK WHERE { resource:Q34 property:P47 resource:Q4441908 }
Sweden Stepanivka
action is_in
entity Stepanivka
action find
entity Sweden
relation shares border with
['Sweden', 'shares border with', 'Stepanivka']
ASK WHERE { resource:Sweden property:shares_border_with resource:Stepanivka }
[]
political territorial entity
SYSTEM
NO
(Q34,P47,Q4441908)
action is_in
entity Q4441908
action find
entity Q34
relation P47
[ANSWER]
['Q34', 'P47', 'Q4441908']
ASK WHERE { resource:Q34 property:P47 resource:Q4441908 }
No
action is_in
entity Stepanivka
action find
entity Sweden
relation shares border with
['Sweden', 'shares border with', 'Stepanivka']
ASK WHERE { resource:Sweden property:shares_border_with resource:Stepanivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1331130 Q522280
P17
Q15617994
USER
Is Royal Order of the Seraphim located in Manhagen ?
(Q1331130,P17,Q522280)
action is_in
entity Q522280
action find
entity Q1331130
relation P17
['Q1331130', 'P17', 'Q522280']
ASK WHERE { resource:Q1331130 property:P17 resource:Q522280 }
Royal Order of the Seraphim Manhagen
action is_in
entity Manhagen
action find
entity Royal Order of the Seraphim
relation country
['Royal Order of the Seraphim', 'country', 'Manhagen']
ASK WHERE { resource:Royal_Order_of_the_Seraphim property:country resource:Manhagen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1331130,P17,Q522280)
action is_in
entity Q522280
action find
entity Q1331130
relation P17
[ANSWER]
['Q1331130', 'P17', 'Q522280']
ASK WHERE { resource:Q1331130 property:P17 resource:Q522280 }
No
action is_in
entity Manhagen
action find
entity Royal Order of the Seraphim
relation country
['Royal Order of the Seraphim', 'country', 'Manhagen']
ASK WHERE { resource:Royal_Order_of_the_Seraphim property:country resource:Manhagen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16602196 Q5145494
P26
Q502895
USER
Is Colin R. J. Bonini married to Helene Taube ?
(Q16602196,P26,Q5145494)
action is_in
entity Q5145494
action find
entity Q16602196
relation P26
['Q16602196', 'P26', 'Q5145494']
ASK WHERE { resource:Q16602196 property:P26 resource:Q5145494 }
Helene Taube Colin R. J. Bonini
action is_in
entity Colin R. J. Bonini
action find
entity Helene Taube
relation spouse
['Helene Taube', 'spouse', 'Colin R. J. Bonini']
ASK WHERE { resource:Helene_Taube property:spouse resource:Colin_R._J._Bonini }
[]
common name
SYSTEM
NO
(Q16602196,P26,Q5145494)
action is_in
entity Q5145494
action find
entity Q16602196
relation P26
[ANSWER]
['Q16602196', 'P26', 'Q5145494']
ASK WHERE { resource:Q16602196 property:P26 resource:Q5145494 }
No
action is_in
entity Colin R. J. Bonini
action find
entity Helene Taube
relation spouse
['Helene Taube', 'spouse', 'Colin R. J. Bonini']
ASK WHERE { resource:Helene_Taube property:spouse resource:Colin_R._J._Bonini }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1331130 Q550799
P17
Q15617994
USER
Is Royal Order of the Seraphim located in Steinach ?
(Q1331130,P17,Q550799)
action is_in
entity Q550799
action find
entity Q1331130
relation P17
['Q1331130', 'P17', 'Q550799']
ASK WHERE { resource:Q1331130 property:P17 resource:Q550799 }
Royal Order of the Seraphim Steinach
action is_in
entity Steinach
action find
entity Royal Order of the Seraphim
relation country
['Royal Order of the Seraphim', 'country', 'Steinach']
ASK WHERE { resource:Royal_Order_of_the_Seraphim property:country resource:Steinach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1331130,P17,Q550799)
action is_in
entity Q550799
action find
entity Q1331130
relation P17
[ANSWER]
['Q1331130', 'P17', 'Q550799']
ASK WHERE { resource:Q1331130 property:P17 resource:Q550799 }
No
action is_in
entity Steinach
action find
entity Royal Order of the Seraphim
relation country
['Royal Order of the Seraphim', 'country', 'Steinach']
ASK WHERE { resource:Royal_Order_of_the_Seraphim property:country resource:Steinach }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q854
P840
Q2342494
USER
How many collectables have their narrative set in Sweden or Sri Lanka ?
(c(Q2342494),P840,Q34) (c(Q2342494),P840,Q854)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q854
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q34'] [{'concept': 'Q2342494'}, 'P840', 'Q854']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Q34 ) ( resource:Q854 ) } . ?g property:P840 ?u }
Sweden Sri Lanka
action count
action union
action filter_type
action find_reverse
entity Sweden
relation narrative location
type collectable
action filter_type
action find_reverse
entity Sri Lanka
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Sweden'] [{'concept': 'collectable'}, 'narrative location', 'Sri Lanka']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Sweden ) ( resource:Sri_Lanka ) } . ?g property:narrative_location ?u }
[]
collectable
SYSTEM
2
Q22679671 Q22815168
(c(Q2342494),P840,Q34) (c(Q2342494),P840,Q854)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q854
relation P840
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q34'] [{'concept': 'Q2342494'}, 'P840', 'Q854']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Q34 ) ( resource:Q854 ) } . ?g property:P840 ?u }
Itinerario de Ludovico de Verthema Bolognese Eine Frau fährt um die Welt
2
action count
action union
action filter_type
action find_reverse
entity Sweden
relation narrative location
type collectable
action filter_type
action find_reverse
entity Sri Lanka
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Sweden'] [{'concept': 'collectable'}, 'narrative location', 'Sri Lanka']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Sweden ) ( resource:Sri_Lanka ) } . ?g property:narrative_location ?u }
[]