Simple Question (Direct)
Simple Question
Q4110542
P21
Q290
USER
Which sex does Menno Wigman have ?
(Q4110542,P21,c(Q290))
action filter_type
action find
entity Q4110542
relation P21
type Q290
['Q4110542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q4110542 property:P21 ?b . ?b rdf:type ontology:Q290 }
Menno Wigman
action filter_type
action find
entity Menno Wigman
relation gender
type sex
['Menno Wigman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Menno_Wigman property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4110542,P21,c(Q290))
action filter_type
action find
entity Q4110542
relation P21
type Q290
Menno Wigman has 1 [ANSWER]
['Q4110542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q4110542 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Menno Wigman has 1 male
male
action filter_type
action find
entity Menno Wigman
relation gender
type sex
['Menno Wigman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Menno_Wigman property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4110542
P27
Q15617994
USER
Which administrative territory is the native country of Menno Wigman ?
(Q4110542,P27,c(Q15617994))
action filter_type
action find
entity Q4110542
relation P27
type Q15617994
['Q4110542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4110542 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Menno Wigman
action filter_type
action find
entity Menno Wigman
relation country of citizenship
type designation for an administrative territorial entity
['Menno Wigman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Menno_Wigman property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q4110542,P27,c(Q15617994))
action filter_type
action find
entity Q4110542
relation P27
type Q15617994
[ANSWER] is the native country of Menno Wigman
['Q4110542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4110542 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Menno Wigman
Kingdom of the Netherlands
action filter_type
action find
entity Menno Wigman
relation country of citizenship
type designation for an administrative territorial entity
['Menno Wigman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Menno_Wigman property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with approximately 108 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { ?n property:P530 ?k . ?n rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?y = 108 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { ?n property:diplomatic_relation ?k . ?n rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?y = 108 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { ?n property:P530 ?k . ?n rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?y = 108 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { ?n property:diplomatic_relation ?k . ?n rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?y = 108 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 38 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 38
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?p ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?p >= 38 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?p ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?p >= 38 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38 Q230
SYSTEM
Brazil, Italy, Georgia
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 38
[ANSWERS] have diplomatic relations with atleast 38 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?p ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?p >= 38 ) }
Brazil Italy Georgia
Brazil, Italy and Georgia have diplomatic relations with atleast 38 administrative territories
Brazil Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?p ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?p >= 38 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q81858
P530
Q15617994
USER
Do Durmersheim have tactful political relations with those ones ?
(Q81858,P530,Q155) (Q81858,P530,Q38) (Q81858,P530,Q230)
action is_in
entity prev_answer
action find
entity Q81858
relation P530
['Q81858', 'P530', 'Q155'] ['Q81858', 'P530', 'Q38'] ['Q81858', 'P530', 'Q230']
ASK WHERE { VALUES ( ?t ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q230 ) } . resource:Q81858 property:P530 ?t }
Durmersheim
action is_in
entity prev_answer
action find
entity Durmersheim
relation diplomatic relation
['Durmersheim', 'diplomatic relation', 'Brazil'] ['Durmersheim', 'diplomatic relation', 'Italy'] ['Durmersheim', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?t ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Georgia ) } . resource:Durmersheim property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q81858,P530,Q155) (Q81858,P530,Q38) (Q81858,P530,Q230)
action is_in
entity prev_answer
action find
entity Q81858
relation P530
[ANSWER]
['Q81858', 'P530', 'Q155'] ['Q81858', 'P530', 'Q38'] ['Q81858', 'P530', 'Q230']
ASK WHERE { VALUES ( ?t ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q230 ) } . resource:Q81858 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Durmersheim
relation diplomatic relation
['Durmersheim', 'diplomatic relation', 'Brazil'] ['Durmersheim', 'diplomatic relation', 'Italy'] ['Durmersheim', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?t ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Georgia ) } . resource:Durmersheim property:diplomatic_relation ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q230 Q851 Q241
P530
Q15617994
USER
Does Georgia have ambassadorial relations with Saudi Arabia and Cuba ?
(Q230,P530,Q851) (Q230,P530,Q241)
action is_in
entity Q230
action intersection
action find_reverse
entity Q851
relation P530
action find_reverse
entity Q241
relation P530
['Q230', 'P530', 'Q851'] ['Q230', 'P530', 'Q241']
ASK WHERE { resource:Q230 property:P530 resource:Q851 . resource:Q230 property:P530 resource:Q241 }
Georgia Saudi Arabia Cuba
action is_in
entity Georgia
action intersection
action find_reverse
entity Saudi Arabia
relation diplomatic relation
action find_reverse
entity Cuba
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Saudi Arabia'] ['Georgia', 'diplomatic relation', 'Cuba']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Saudi_Arabia . resource:Georgia property:diplomatic_relation resource:Cuba }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q851) (Q230,P530,Q241)
action is_in
entity Q230
action intersection
action find_reverse
entity Q851
relation P530
action find_reverse
entity Q241
relation P530
[ANSWER]
['Q230', 'P530', 'Q851'] ['Q230', 'P530', 'Q241']
ASK WHERE { resource:Q230 property:P530 resource:Q851 . resource:Q230 property:P530 resource:Q241 }
Yes
action is_in
entity Georgia
action intersection
action find_reverse
entity Saudi Arabia
relation diplomatic relation
action find_reverse
entity Cuba
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Saudi Arabia'] ['Georgia', 'diplomatic relation', 'Cuba']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Saudi_Arabia . resource:Georgia property:diplomatic_relation resource:Cuba }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q230 Q2184
P163
Q14660
USER
How many flags have Georgia or Russian Soviet Federative Socialist Republic as their flag ?
(Q230,P163,c(Q14660)) (Q2184,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q2184
relation P163
type Q14660
['Q230', 'P163', {'concept': 'Q14660'}] ['Q2184', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Q2184 property:P163 ?q . ?q rdf:type ontology:Q14660 } UNION { resource:Q230 property:P163 ?q . ?q rdf:type ontology:Q14660 } }
Georgia Russian Soviet Federative Socialist Republic
action count
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Russian Soviet Federative Socialist Republic
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Russian Soviet Federative Socialist Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Russian_Soviet_Federative_Socialist_Republic property:flag ?q . ?q rdf:type ontology:flag } UNION { resource:Georgia property:flag ?q . ?q rdf:type ontology:flag } }
[]
flag
SYSTEM
2
Q47214 Q26491
(Q230,P163,c(Q14660)) (Q2184,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q2184
relation P163
type Q14660
[ANSWER]
['Q230', 'P163', {'concept': 'Q14660'}] ['Q2184', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Q2184 property:P163 ?q . ?q rdf:type ontology:Q14660 } UNION { resource:Q230 property:P163 ?q . ?q rdf:type ontology:Q14660 } }
flag of the Russian Soviet Federative Socialist Republic Flag of Georgia
2
action count
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Russian Soviet Federative Socialist Republic
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Russian Soviet Federative Socialist Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Russian_Soviet_Federative_Socialist_Republic property:flag ?q . ?q rdf:type ontology:flag } UNION { resource:Georgia property:flag ?q . ?q rdf:type ontology:flag } }
[]