Simple Question (Direct)
Simple Question
Q15061975
P106
Q12737077
USER
Which occupation is the profession of Stefan Dauber ?
(Q15061975,P106,c(Q12737077))
action filter_type
action find
entity Q15061975
relation P106
type Q12737077
['Q15061975', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q15061975 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Stefan Dauber
action filter_type
action find
entity Stefan Dauber
relation occupation
type occupation
['Stefan Dauber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Stefan_Dauber property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15061975,P106,c(Q12737077))
action filter_type
action find
entity Q15061975
relation P106
type Q12737077
Player [ANSWER] is the profession of Stefan Dauber
['Q15061975', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q15061975 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Stefan Dauber
association football player
action filter_type
action find
entity Stefan Dauber
relation occupation
type occupation
['Stefan Dauber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Stefan_Dauber property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15061975
P21
Q290
USER
Which sex does Stefan Dauber have ?
(Q15061975,P21,c(Q290))
action filter_type
action find
entity Q15061975
relation P21
type Q290
['Q15061975', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q15061975 property:P21 ?e }
Stefan Dauber
action filter_type
action find
entity Stefan Dauber
relation gender
type sex
['Stefan Dauber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Stefan_Dauber property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15061975,P21,c(Q290))
action filter_type
action find
entity Q15061975
relation P21
type Q290
Stefan Dauber has a [ANSWER]
['Q15061975', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q15061975 property:P21 ?e }
male
Stefan Dauber has a male
male
action filter_type
action find
entity Stefan Dauber
relation gender
type sex
['Stefan Dauber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Stefan_Dauber property:gender ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6396420
Q290
USER
And how about Kevin Hagen?
(Q6396420,P21,c(Q290))
action filter_type
action find
entity Q6396420
relation P21
type Q290
['Q6396420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6396420 property:P21 ?p . ?p rdf:type ontology:Q290 }
Kevin Hagen
action filter_type
action find
entity Kevin Hagen
relation gender
type sex
['Kevin Hagen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Hagen property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6396420,P21,c(Q290))
action filter_type
action find
entity Q6396420
relation P21
type Q290
[ANSWER]
['Q6396420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6396420 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Kevin Hagen
relation gender
type sex
['Kevin Hagen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Hagen property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6396420
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q6396420
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6396420 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Kevin Hagen
action filter_type
action find
entity Kevin Hagen
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Kevin_Hagen property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q679952
SYSTEM
Renton
Q679952
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q6396420
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6396420 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Renton
That person was born in Renton
Renton
action filter_type
action find
entity Kevin Hagen
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Kevin_Hagen property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q679952
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q679952,P17,c(Q15617994))
action filter_type
action find
entity Q679952
relation P17
type Q15617994
['Q679952', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q679952 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Renton
action filter_type
action find
entity Renton
relation country
type designation for an administrative territorial entity
['Renton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Renton property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q679952,P17,c(Q15617994))
action filter_type
action find
entity Q679952
relation P17
type Q15617994
That administrative territory is located the [ANSWER]
['Q679952', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q679952 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
That administrative territory is located the United States of America
United States of America
action filter_type
action find
entity Renton
relation country
type designation for an administrative territorial entity
['Renton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Renton property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q4710668
P27
Q502895
USER
Is Albert L. Reeves a native of that administrative territory ?
(Q4710668,P27,Q30)
action is_in
entity Q30
action find
entity Q4710668
relation P27
['Q4710668', 'P27', 'Q30']
ASK WHERE { resource:Q4710668 property:P27 resource:Q30 }
United States of America Albert L. Reeves
action is_in
entity United States of America
action find
entity Albert L. Reeves
relation country of citizenship
['Albert L. Reeves', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Albert_L._Reeves property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q4710668,P27,Q30)
action is_in
entity Q30
action find
entity Q4710668
relation P27
[ANSWER]
['Q4710668', 'P27', 'Q30']
ASK WHERE { resource:Q4710668 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Albert L. Reeves
relation country of citizenship
['Albert L. Reeves', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Albert_L._Reeves property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24878159 Q6396420
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Kevin Hagen or Lyman Walker ?
OR((Q6396420,P27,c(Q15617994)), (Q24878159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6396420
relation P27
action find
entity Q24878159
relation P27
type Q15617994
{'OR': [['Q6396420', 'P27', {'concept': 'Q15617994'}], ['Q24878159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6396420 property:P27 ?m } UNION { resource:Q24878159 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Lyman Walker Kevin Hagen
action filter_type
action union
action find
entity Kevin Hagen
relation country of citizenship
action find
entity Lyman Walker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kevin Hagen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lyman Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Kevin_Hagen property:country_of_citizenship ?m } UNION { resource:Lyman_Walker property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q6396420,P27,c(Q15617994)), (Q24878159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6396420
relation P27
action find
entity Q24878159
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Kevin Hagen or Lyman Walker
{'OR': [['Q6396420', 'P27', {'concept': 'Q15617994'}], ['Q24878159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6396420 property:P27 ?m } UNION { resource:Q24878159 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Kevin Hagen or Lyman Walker
United States of America
action filter_type
action union
action find
entity Kevin Hagen
relation country of citizenship
action find
entity Lyman Walker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kevin Hagen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lyman Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Kevin_Hagen property:country_of_citizenship ?m } UNION { resource:Lyman_Walker property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 101 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 101
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?t ) WHERE { ?p property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . FILTER ( ?t <= 101 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 101
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?t ) WHERE { ?p property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . FILTER ( ?t <= 101 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 101
[ANSWERS] have diplomatic relationships with atmost 101 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?t ) WHERE { ?p property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . FILTER ( ?t <= 101 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with atmost 101 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 101
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?t ) WHERE { ?p property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . FILTER ( ?t <= 101 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q685
P530
Q1048835 Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with approximately the same number of political territories and administrative territories as Solomon Islands ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q685
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P530 resource:Q685 . { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?s rdf:type ?w } } } . FILTER ( ?a = ?p ) }
Solomon Islands
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Solomon Islands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:diplomatic_relation resource:Solomon_Islands . { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?w } } } . FILTER ( ?a = ?p ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q685
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P530 resource:Q685 . { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?s rdf:type ?w } } } . FILTER ( ?a = ?p ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Solomon Islands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:diplomatic_relation resource:Solomon_Islands . { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?w } } } . FILTER ( ?a = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q40
P530
Q1048835 Q1048835 Q15617994
USER
And how about Austria?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q40
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?k WHERE { VALUES ( ?g ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?r rdf:type ?g } GROUP BY ?k } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P530 resource:Q40 . { { ?w rdf:type ontology:Q1048835 } UNION { ?w rdf:type ontology:Q15617994 } } } } }
Austria
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?k WHERE { VALUES ( ?g ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?r rdf:type ?g } GROUP BY ?k } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:diplomatic_relation resource:Austria . { { ?w rdf:type ontology:political_territorial_entity } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q40
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?k WHERE { VALUES ( ?g ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?r rdf:type ?g } GROUP BY ?k } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P530 resource:Q40 . { { ?w rdf:type ontology:Q1048835 } UNION { ?w rdf:type ontology:Q15617994 } } } } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?k WHERE { VALUES ( ?g ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?r rdf:type ?g } GROUP BY ?k } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:diplomatic_relation resource:Austria . { { ?w rdf:type ontology:political_territorial_entity } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q546274 Q4710668
P27
Q15617994
USER
Which administrative territories are Albert L. Reeves or Liudvikas Sabutis a civilian of ?
OR((Q4710668,P27,c(Q15617994)), (Q546274,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4710668
relation P27
action find
entity Q546274
relation P27
type Q15617994
{'OR': [['Q4710668', 'P27', {'concept': 'Q15617994'}], ['Q546274', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4710668 property:P27 ?v } UNION { resource:Q546274 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Liudvikas Sabutis Albert L. Reeves
action filter_type
action union
action find
entity Albert L. Reeves
relation country of citizenship
action find
entity Liudvikas Sabutis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Albert L. Reeves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Liudvikas Sabutis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Albert_L._Reeves property:country_of_citizenship ?v } UNION { resource:Liudvikas_Sabutis property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q4710668,P27,c(Q15617994)), (Q546274,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4710668
relation P27
action find
entity Q546274
relation P27
type Q15617994
[ANSWERS] are Albert L. Reeves or Liudvikas Sabutis a civilian of
{'OR': [['Q4710668', 'P27', {'concept': 'Q15617994'}], ['Q546274', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4710668 property:P27 ?v } UNION { resource:Q546274 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
United States of America Lithuania
United States of America and Lithuania are Albert L. Reeves or Liudvikas Sabutis a civilian of
United States of America Lithuania
action filter_type
action union
action find
entity Albert L. Reeves
relation country of citizenship
action find
entity Liudvikas Sabutis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Albert L. Reeves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Liudvikas Sabutis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Albert_L._Reeves property:country_of_citizenship ?v } UNION { resource:Liudvikas_Sabutis property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]