Simple Question (Direct)
Simple Question
Q1910663
P54
Q12973014
USER
What is Mattias Hugosson a member of ?
(Q1910663,P54,c(Q12973014))
action filter_type
action find
entity Q1910663
relation P54
type Q12973014
['Q1910663', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q1910663 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Mattias Hugosson
action filter_type
action find
entity Mattias Hugosson
relation member of sports team
type sports team
['Mattias Hugosson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Mattias_Hugosson property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
sports team
Q670251
SYSTEM
Gävle Godtemplares IK
Q670251
(Q1910663,P54,c(Q12973014))
action filter_type
action find
entity Q1910663
relation P54
type Q12973014
Mattias Hugosson a member of is the [ANSWER]
['Q1910663', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q1910663 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Gävle Godtemplares IK
Mattias Hugosson a member of is the Gävle Godtemplares IK
Gävle Godtemplares IK
action filter_type
action find
entity Mattias Hugosson
relation member of sports team
type sports team
['Mattias Hugosson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Mattias_Hugosson property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1910663
P106
Q12737077
USER
What does Mattias Hugosson do for a living ?
(Q1910663,P106,c(Q12737077))
action filter_type
action find
entity Q1910663
relation P106
type Q12737077
['Q1910663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1910663 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Mattias Hugosson
action filter_type
action find
entity Mattias Hugosson
relation occupation
type occupation
['Mattias Hugosson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Mattias_Hugosson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1910663,P106,c(Q12737077))
action filter_type
action find
entity Q1910663
relation P106
type Q12737077
[ANSWER] Mattias Hugosson does for a living
['Q1910663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1910663 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Association football player Mattias Hugosson does for a living
association football player
action filter_type
action find
entity Mattias Hugosson
relation occupation
type occupation
['Mattias Hugosson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Mattias_Hugosson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q1682809
P425
Q349
USER
Is pair skating associated with the field of occupation that one ?
(Q937857,P425,Q1682809)
action is_in
entity Q1682809
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q1682809']
ASK WHERE { resource:Q937857 property:P425 resource:Q1682809 }
association football player pair skating
action is_in
entity pair skating
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'pair skating']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:pair_skating }
[]
sport
SYSTEM
NO
(Q937857,P425,Q1682809)
action is_in
entity Q1682809
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q1682809']
ASK WHERE { resource:Q937857 property:P425 resource:Q1682809 }
No
action is_in
entity pair skating
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'pair skating']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:pair_skating }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1910663 Q50693 Q705771
P27
Q15617994
USER
Is Mattias Hugosson a citizen of Votsko and Buxheim ?
(Q1910663,P27,Q50693) (Q1910663,P27,Q705771)
action is_in
entity Q1910663
action intersection
action find_reverse
entity Q50693
relation P27
action find_reverse
entity Q705771
relation P27
['Q1910663', 'P27', 'Q50693'] ['Q1910663', 'P27', 'Q705771']
ASK WHERE { resource:Q1910663 property:P27 resource:Q50693 . resource:Q1910663 property:P27 resource:Q705771 }
Mattias Hugosson Votsko Buxheim
action is_in
entity Mattias Hugosson
action intersection
action find_reverse
entity Votsko
relation country of citizenship
action find_reverse
entity Buxheim
relation country of citizenship
['Mattias Hugosson', 'country of citizenship', 'Votsko'] ['Mattias Hugosson', 'country of citizenship', 'Buxheim']
ASK WHERE { resource:Mattias_Hugosson property:country_of_citizenship resource:Votsko . resource:Mattias_Hugosson property:country_of_citizenship resource:Buxheim }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1910663,P27,Q50693) (Q1910663,P27,Q705771)
action is_in
entity Q1910663
action intersection
action find_reverse
entity Q50693
relation P27
action find_reverse
entity Q705771
relation P27
[ANSWER]
['Q1910663', 'P27', 'Q50693'] ['Q1910663', 'P27', 'Q705771']
ASK WHERE { resource:Q1910663 property:P27 resource:Q50693 . resource:Q1910663 property:P27 resource:Q705771 }
No
action is_in
entity Mattias Hugosson
action intersection
action find_reverse
entity Votsko
relation country of citizenship
action find_reverse
entity Buxheim
relation country of citizenship
['Mattias Hugosson', 'country of citizenship', 'Votsko'] ['Mattias Hugosson', 'country of citizenship', 'Buxheim']
ASK WHERE { resource:Mattias_Hugosson property:country_of_citizenship resource:Votsko . resource:Mattias_Hugosson property:country_of_citizenship resource:Buxheim }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q670251 Q68585
P17
Q15617994
USER
Is Gävle Godtemplares IK situated in Noakhali District ?
(Q670251,P17,Q68585)
action is_in
entity Q68585
action find
entity Q670251
relation P17
['Q670251', 'P17', 'Q68585']
ASK WHERE { resource:Q670251 property:P17 resource:Q68585 }
Gävle Godtemplares IK Noakhali District
action is_in
entity Noakhali District
action find
entity Gävle Godtemplares IK
relation country
['Gävle Godtemplares IK', 'country', 'Noakhali District']
ASK WHERE { resource:Gävle_Godtemplares_IK property:country resource:Noakhali_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q670251,P17,Q68585)
action is_in
entity Q68585
action find
entity Q670251
relation P17
[ANSWER]
['Q670251', 'P17', 'Q68585']
ASK WHERE { resource:Q670251 property:P17 resource:Q68585 }
No
action is_in
entity Noakhali District
action find
entity Gävle Godtemplares IK
relation country
['Gävle Godtemplares IK', 'country', 'Noakhali District']
ASK WHERE { resource:Gävle_Godtemplares_IK property:country resource:Noakhali_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q874405 Q16979650
USER
How many social groups or sibling groups have association football player as his/her means of employment ?
(c(Q874405),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q874405 ) ( ontology:Q16979650 ) } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:social_group ) ( ontology:sibling_group ) } }
[]
social group sibling group
SYSTEM
2
Q3752378 Q6027090
(c(Q874405),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[ANSWER]
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q874405 ) ( ontology:Q16979650 ) } }
Fratelli Céspedes Milija and Pavle Bakić
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:social_group ) ( ontology:sibling_group ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26549106 Q670251
P17
Q15617994
USER
Which administrative territories are Gävle Godtemplares IK or 12 And 12A, Gillygate present in ?
OR((Q670251,P17,c(Q15617994)), (Q26549106,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q670251
relation P17
action find
entity Q26549106
relation P17
type Q15617994
{'OR': [['Q670251', 'P17', {'concept': 'Q15617994'}], ['Q26549106', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q26549106 property:P17 ?v } UNION { resource:Q670251 property:P17 ?v } } }
12 And 12A, Gillygate Gävle Godtemplares IK
action filter_type
action union
action find
entity Gävle Godtemplares IK
relation country
action find
entity 12 And 12A, Gillygate
relation country
type designation for an administrative territorial entity
{'OR': [['Gävle Godtemplares IK', 'country', {'concept': 'designation for an administrative territorial entity'}], ['12 And 12A, Gillygate', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:12_And_12A,_Gillygate property:country ?v } UNION { resource:Gävle_Godtemplares_IK property:country ?v } } }
[]
designation for an administrative territorial entity
Q34 Q145
SYSTEM
Sweden, United Kingdom
Q34 Q145
OR((Q670251,P17,c(Q15617994)), (Q26549106,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q670251
relation P17
action find
entity Q26549106
relation P17
type Q15617994
[ANSWERS] are Gävle Godtemplares IK or 12 And 12A, Gillygate present in
{'OR': [['Q670251', 'P17', {'concept': 'Q15617994'}], ['Q26549106', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q26549106 property:P17 ?v } UNION { resource:Q670251 property:P17 ?v } } }
Sweden United Kingdom
Sweden and United Kingdom are Gävle Godtemplares IK or 12 And 12A, Gillygate present in
Sweden United Kingdom
action filter_type
action union
action find
entity Gävle Godtemplares IK
relation country
action find
entity 12 And 12A, Gillygate
relation country
type designation for an administrative territorial entity
{'OR': [['Gävle Godtemplares IK', 'country', {'concept': 'designation for an administrative territorial entity'}], ['12 And 12A, Gillygate', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:12_And_12A,_Gillygate property:country ?v } UNION { resource:Gävle_Godtemplares_IK property:country ?v } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are located next to min number of watercourses and bodies of water ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?o WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?i WHERE { { ?i property:P206 ?v . ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15324 } UNION { ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q355304 . ?i property:P206 ?v } } GROUP BY ?i } } }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?o WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?i WHERE { { ?i property:located_next_to_body_of_water ?v . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:body_of_water } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:watercourse . ?i property:located_next_to_body_of_water ?v } } GROUP BY ?i } } }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[ANSWERS] are located next to min number of watercourses and bodies of water
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?o WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?i WHERE { { ?i property:P206 ?v . ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15324 } UNION { ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q355304 . ?i property:P206 ?v } } GROUP BY ?i } } }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain, India and Tunisia are located next to min number of watercourses and bodies of water
Spain India Tunisia
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?o WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } GROUP BY ?o } . { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?i WHERE { { ?i property:located_next_to_body_of_water ?v . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:body_of_water } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:watercourse . ?i property:located_next_to_body_of_water ?v } } GROUP BY ?i } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q948
P915
Q838948
USER
Which work of art was filmed in the location that administrative territory ?
(c(Q838948),P915,Q948)
action filter_type
action find_reverse
entity Q948
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q948']
SELECT DISTINCT ?y WHERE { ?y property:P915 resource:Q948 . ?y rdf:type ontology:Q838948 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Tunisia']
SELECT DISTINCT ?y WHERE { ?y property:filming_location resource:Tunisia . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q948
SYSTEM
Did you mean Tunisia ?
Q29 Q668 Q948
(c(Q838948),P915,Q29) (c(Q838948),P915,Q668) (c(Q838948),P915,Q948)
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q29'] [{'concept': 'Q838948'}, 'P915', 'Q668'] [{'concept': 'Q838948'}, 'P915', 'Q948']
SELECT DISTINCT ?y WHERE { ?y property:P915 resource:Q948 . ?y rdf:type ontology:Q838948 }
Spain India Tunisia
Did you mean Tunisia ?
Tunisia
[{'concept': 'work of art'}, 'filming location', 'Spain'] [{'concept': 'work of art'}, 'filming location', 'India'] [{'concept': 'work of art'}, 'filming location', 'Tunisia']
SELECT DISTINCT ?y WHERE { ?y property:filming_location resource:Tunisia . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P915,Q948)
[{'concept': 'Q838948'}, 'P915', 'Q948']
[{'concept': 'work of art'}, 'filming location', 'Tunisia']
[]
Q63026
SYSTEM
The English Patient
Q63026
(c(Q838948),P915,Q948)
action filter_type
action find_reverse
entity Q948
relation P915
type Q838948
[ANSWER] was filmed in the location that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q948']
SELECT DISTINCT ?y WHERE { ?y property:P915 resource:Q948 . ?y rdf:type ontology:Q838948 }
The English Patient
The English Patient was filmed in the location that administrative territory
The English Patient
action filter_type
action find_reverse
entity Tunisia
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Tunisia']
SELECT DISTINCT ?y WHERE { ?y property:filming_location resource:Tunisia . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21294792 Q50693
P27 P17
Q15617994
USER
Which administrative territories do Votsko belong to or do Jean Maignan belong to ?
OR((Q50693,P17,c(Q15617994)), (Q21294792,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q50693
relation P17
action find
entity Q21294792
relation P27
type Q15617994
{'OR': [['Q50693', 'P17', {'concept': 'Q15617994'}], ['Q21294792', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q50693 property:P17 ?p } UNION { resource:Q21294792 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Jean Maignan Votsko
action filter_type
action union
action find
entity Votsko
relation country
action find
entity Jean Maignan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Votsko', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jean Maignan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Votsko property:country ?p } UNION { resource:Jean_Maignan property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q159
SYSTEM
France, Russia
Q142 Q159
OR((Q50693,P17,c(Q15617994)), (Q21294792,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q50693
relation P17
action find
entity Q21294792
relation P27
type Q15617994
Votsko belong to [ANSWERS]
{'OR': [['Q50693', 'P17', {'concept': 'Q15617994'}], ['Q21294792', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q50693 property:P17 ?p } UNION { resource:Q21294792 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
France Russia
Votsko belong to France and Russia
France Russia
action filter_type
action union
action find
entity Votsko
relation country
action find
entity Jean Maignan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Votsko', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jean Maignan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Votsko property:country ?p } UNION { resource:Jean_Maignan property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q98451 Q145
P530 P27
Q1048835
USER
Which political territories have diplomatic relations with United Kingdom and are the native countriesof Ulrik Frederik von Suhm ?
AND((Q145,P530,c(Q1048835)), (Q98451,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q98451
relation P27
type Q1048835
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q98451', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?p . resource:Q98451 property:P27 ?p }
Ulrik Frederik von Suhm United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Ulrik Frederik von Suhm
relation country of citizenship
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ulrik Frederik von Suhm', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?p . resource:Ulrik_Frederik_von_Suhm property:country_of_citizenship ?p }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q145,P530,c(Q1048835)), (Q98451,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q98451
relation P27
type Q1048835
[ANSWER] have diplomatic relations with United Kingdom and are the native countriesof Ulrik Frederik von Suhm
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q98451', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?p . resource:Q98451 property:P27 ?p }
Germany
Germany have diplomatic relations with United Kingdom and are the native countriesof Ulrik Frederik von Suhm
Germany
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Ulrik Frederik von Suhm
relation country of citizenship
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ulrik Frederik von Suhm', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?p . resource:Ulrik_Frederik_von_Suhm property:country_of_citizenship ?p }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q684575 Q115
P530
Q15617994
USER
Does that political territory have diplomatic associations with Rappottenstein and Ethiopia ?
(Q183,P530,Q684575) (Q183,P530,Q115)
action is_in
entity Q183
action intersection
action find_reverse
entity Q684575
relation P530
action find_reverse
entity Q115
relation P530
['Q183', 'P530', 'Q684575'] ['Q183', 'P530', 'Q115']
ASK WHERE { resource:Q183 property:P530 resource:Q684575 . resource:Q183 property:P530 resource:Q115 }
Germany Rappottenstein Ethiopia
action is_in
entity Germany
action intersection
action find_reverse
entity Rappottenstein
relation diplomatic relation
action find_reverse
entity Ethiopia
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rappottenstein'] ['Germany', 'diplomatic relation', 'Ethiopia']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Rappottenstein . resource:Germany property:diplomatic_relation resource:Ethiopia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q684575) (Q183,P530,Q115)
action is_in
entity Q183
action intersection
action find_reverse
entity Q684575
relation P530
action find_reverse
entity Q115
relation P530
[ANSWER]
['Q183', 'P530', 'Q684575'] ['Q183', 'P530', 'Q115']
ASK WHERE { resource:Q183 property:P530 resource:Q684575 . resource:Q183 property:P530 resource:Q115 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Rappottenstein
relation diplomatic relation
action find_reverse
entity Ethiopia
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rappottenstein'] ['Germany', 'diplomatic relation', 'Ethiopia']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Rappottenstein . resource:Germany property:diplomatic_relation resource:Ethiopia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P127
Q811979
USER
Which architectural structures are owned by that political territory ?
action filter_type
action find_reverse
entity Q183
relation P127
type Q811979
SELECT DISTINCT ?t WHERE { ?t property:P127 resource:Q183 . ?t rdf:type ontology:Q811979 }
Germany
action filter_type
action find_reverse
entity Germany
relation owned by
type architectural structure
SELECT DISTINCT ?t WHERE { ?t property:owned_by resource:Germany . ?t rdf:type ontology:architectural_structure }
[]
architectural structure
Q15214843 Q807725 Q15710492
SYSTEM
Douglas House, Petersham, Barbarastollen underground archive, Limbicher Weg 55
Q15214843 Q807725 Q15710492
action filter_type
action find_reverse
entity Q183
relation P127
type Q811979
[ANSWERS] are owned by that political territory
SELECT DISTINCT ?t WHERE { ?t property:P127 resource:Q183 . ?t rdf:type ontology:Q811979 }
Douglas House, Petersham Barbarastollen underground archive Limbicher Weg 55
Douglas House, Petersham, Barbarastollen underground archive and Limbicher Weg 55 are owned by that political territory
Douglas House, Petersham Barbarastollen underground archive Limbicher Weg 55
action filter_type
action find_reverse
entity Germany
relation owned by
type architectural structure
SELECT DISTINCT ?t WHERE { ?t property:owned_by resource:Germany . ?t rdf:type ontology:architectural_structure }
[]