Simple Question (Direct)
Simple Question
Q5143018
P106
Q12737077
USER
Which occupations are the professions of Coleman Mellett ?
(Q5143018,P106,c(Q12737077))
action filter_type
action find
entity Q5143018
relation P106
type Q12737077
['Q5143018', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5143018 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Coleman Mellett
action filter_type
action find
entity Coleman Mellett
relation occupation
type occupation
['Coleman Mellett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Coleman_Mellett property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q15981151 Q6168364
SYSTEM
jazz musician, jazz guitarist
Q15981151 Q6168364
(Q5143018,P106,c(Q12737077))
action filter_type
action find
entity Q5143018
relation P106
type Q12737077
The professions of Coleman Mellett are the [ANSWERS]
['Q5143018', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5143018 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
jazz musician jazz guitarist
The professions of Coleman Mellett are the jazz musician and jazz guitarist
jazz musician jazz guitarist
action filter_type
action find
entity Coleman Mellett
relation occupation
type occupation
['Coleman Mellett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Coleman_Mellett property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5143018
P1196
Q1190554
USER
Which situation led to the death of that person ?
(Q15981151,P1196,c(Q1190554)) (Q6168364,P1196,c(Q1190554))
action filter_type
action find
entity Q5143018
relation P1196
type Q1190554
['Q15981151', 'P1196', {'concept': 'Q1190554'}] ['Q6168364', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1190554 . resource:Q5143018 property:P1196 ?b }
Coleman Mellett
action filter_type
action find
entity Coleman Mellett
relation manner of death
type event
['jazz musician', 'manner of death', {'concept': 'event'}] ['jazz guitarist', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:event . resource:Coleman_Mellett property:manner_of_death ?b }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q15981151,P1196,c(Q1190554)) (Q6168364,P1196,c(Q1190554))
action filter_type
action find
entity Q5143018
relation P1196
type Q1190554
Aircraft [ANSWER] led to the death of that person
['Q15981151', 'P1196', {'concept': 'Q1190554'}] ['Q6168364', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1190554 . resource:Q5143018 property:P1196 ?b }
accident
Aircraft accident led to the death of that person
accident
action filter_type
action find
entity Coleman Mellett
relation manner of death
type event
['jazz musician', 'manner of death', {'concept': 'event'}] ['jazz guitarist', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:event . resource:Coleman_Mellett property:manner_of_death ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5143018
P27
Q15617994
USER
How many administrative territories are Coleman Mellett an inhabitant of ?
(Q5143018,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5143018
relation P27
type Q15617994
['Q5143018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q5143018 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Coleman Mellett
action count
action filter_type
action find
entity Coleman Mellett
relation country of citizenship
type designation for an administrative territorial entity
['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Coleman_Mellett property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q5143018,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5143018
relation P27
type Q15617994
[ANSWER]
['Q5143018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q5143018 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Coleman Mellett
relation country of citizenship
type designation for an administrative territorial entity
['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Coleman_Mellett property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1010348
P27
Q15617994
USER
And also tell me about Bouchard Ratepilate?
(Q1010348,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1010348
relation P27
type Q15617994
['Q1010348', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q1010348 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Bouchard Ratepilate
action count
action filter_type
action find
entity Bouchard Ratepilate
relation country of citizenship
type designation for an administrative territorial entity
['Bouchard Ratepilate', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Bouchard_Ratepilate property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1010348,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1010348
relation P27
type Q15617994
[ANSWER]
['Q1010348', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q1010348 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Bouchard Ratepilate
relation country of citizenship
type designation for an administrative territorial entity
['Bouchard Ratepilate', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Bouchard_Ratepilate property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q11962877
Q15617994
USER
And also tell me about Børge Søvik?
(Q11962877,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11962877
relation P27
type Q15617994
['Q11962877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q11962877 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Børge Søvik
action count
action filter_type
action find
entity Børge Søvik
relation country of citizenship
type designation for an administrative territorial entity
['Børge Søvik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Børge_Søvik property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q11962877,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11962877
relation P27
type Q15617994
[ANSWER]
['Q11962877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q11962877 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Børge Søvik
relation country of citizenship
type designation for an administrative territorial entity
['Børge Søvik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Børge_Søvik property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11962877
P21
Q290
USER
Which sex does Børge Søvik belong to ?
(Q11962877,P21,c(Q290))
action filter_type
action find
entity Q11962877
relation P21
type Q290
['Q11962877', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q11962877 property:P21 ?t . ?t rdf:type ontology:Q290 }
Børge Søvik
action filter_type
action find
entity Børge Søvik
relation gender
type sex
['Børge Søvik', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Børge_Søvik property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11962877,P21,c(Q290))
action filter_type
action find
entity Q11962877
relation P21
type Q290
Børge Søvik belongs to [ANSWER]
['Q11962877', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q11962877 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Børge Søvik belongs to male
male
action filter_type
action find
entity Børge Søvik
relation gender
type sex
['Børge Søvik', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Børge_Søvik property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1304887
Q290
USER
And how about Alarico Gattia?
(Q1304887,P21,c(Q290))
action filter_type
action find
entity Q1304887
relation P21
type Q290
['Q1304887', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1304887 property:P21 ?j . ?j rdf:type ontology:Q290 }
Alarico Gattia
action filter_type
action find
entity Alarico Gattia
relation gender
type sex
['Alarico Gattia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Alarico_Gattia property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1304887,P21,c(Q290))
action filter_type
action find
entity Q1304887
relation P21
type Q290
[ANSWER]
['Q1304887', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1304887 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Alarico Gattia
relation gender
type sex
['Alarico Gattia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Alarico_Gattia property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q3839081 Q1190554
USER
Which disasters are the underlying cause of min number of events ?
(c(Q1190554),P828,Q629257)
action argmin
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
[{'concept': 'Q1190554'}, 'P828', 'Q629257']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?x ) WHERE { ?i rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q1190554 . ?w property:P828 ?i } GROUP BY ?i } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q3839081 . ?j property:P828 ?b } GROUP BY ?b } } }
action argmin
action find_reverse_tuple_counts
relation has cause
type disaster
type event
[{'concept': 'event'}, 'has cause', 'work accident']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?x ) WHERE { ?i rdf:type ontology:disaster . ?w rdf:type ontology:event . ?w property:has_cause ?i } GROUP BY ?i } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:event . ?b rdf:type ontology:disaster . ?j property:has_cause ?b } GROUP BY ?b } } }
[]
disaster event
Q7692360 Q5377742 Q327541
SYSTEM
volcanic eruption, engine failure on take-off, arson
Q5377742 Q7692360 Q327541 Q629257
(c(Q1190554),P828,Q629257)
action argmin
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
[ANSWERS] are the underlying cause of min number of events
[{'concept': 'Q1190554'}, 'P828', 'Q629257']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?x ) WHERE { ?i rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q1190554 . ?w property:P828 ?i } GROUP BY ?i } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q3839081 . ?j property:P828 ?b } GROUP BY ?b } } }
engine failure on take-off volcanic eruption arson work accident
Volcanic eruption, engine failure on take-off and arson are the underlying cause of min number of events
volcanic eruption engine failure on take-off arson
action argmin
action find_reverse_tuple_counts
relation has cause
type disaster
type event
[{'concept': 'event'}, 'has cause', 'work accident']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?x ) WHERE { ?i rdf:type ontology:disaster . ?w rdf:type ontology:event . ?w property:has_cause ?i } GROUP BY ?i } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:event . ?b rdf:type ontology:disaster . ?j property:has_cause ?b } GROUP BY ?b } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7692360
P180
Q15709879
USER
Which artwork series depicts that disaster ?
(c(Q15709879),P180,Q7692360)
action filter_type
action find_reverse
entity Q7692360
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q7692360']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q7692360 . ?v rdf:type ontology:Q15709879 }
volcanic eruption
action filter_type
action find_reverse
entity volcanic eruption
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'volcanic eruption']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:volcanic_eruption . ?v rdf:type ontology:artwork_series }
[]
artwork series
Clarification for simple ques.
Q7692360
SYSTEM
Did you mean volcanic eruption ?
Q7692360 Q5377742 Q327541
(c(Q15709879),P180,Q7692360) (c(Q15709879),P180,Q5377742) (c(Q15709879),P180,Q327541)
[ANSWER]
[{'concept': 'Q15709879'}, 'P180', 'Q7692360'] [{'concept': 'Q15709879'}, 'P180', 'Q5377742'] [{'concept': 'Q15709879'}, 'P180', 'Q327541']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q7692360 . ?v rdf:type ontology:Q15709879 }
volcanic eruption engine failure on take-off arson
Did you mean volcanic eruption ?
volcanic eruption
[{'concept': 'artwork series'}, 'depicts', 'volcanic eruption'] [{'concept': 'artwork series'}, 'depicts', 'engine failure on take-off'] [{'concept': 'artwork series'}, 'depicts', 'arson']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:volcanic_eruption . ?v rdf:type ontology:artwork_series }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15709879),P180,Q7692360)
[{'concept': 'Q15709879'}, 'P180', 'Q7692360']
[{'concept': 'artwork series'}, 'depicts', 'volcanic eruption']
[]
Q1239316
SYSTEM
Vesuvius in Eruption
Q1239316
(c(Q15709879),P180,Q7692360)
action filter_type
action find_reverse
entity Q7692360
relation P180
type Q15709879
[ANSWER] depicts that disaster
[{'concept': 'Q15709879'}, 'P180', 'Q7692360']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q7692360 . ?v rdf:type ontology:Q15709879 }
Vesuvius in Eruption
Vesuvius in Eruption depicts that disaster
Vesuvius in Eruption
action filter_type
action find_reverse
entity volcanic eruption
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'volcanic eruption']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:volcanic_eruption . ?v rdf:type ontology:artwork_series }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4880952 Q5143018
P27
Q15617994
USER
Which administrative territories are Coleman Mellett or Behnaz Akhgar an inhabitant of ?
OR((Q5143018,P27,c(Q15617994)), (Q4880952,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5143018
relation P27
action find
entity Q4880952
relation P27
type Q15617994
{'OR': [['Q5143018', 'P27', {'concept': 'Q15617994'}], ['Q4880952', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:P27 ?s . VALUES ( ?r ) { ( resource:Q4880952 ) ( resource:Q5143018 ) } } . ?s rdf:type ontology:Q15617994 }
Behnaz Akhgar Coleman Mellett
action filter_type
action union
action find
entity Coleman Mellett
relation country of citizenship
action find
entity Behnaz Akhgar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Behnaz Akhgar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:country_of_citizenship ?s . VALUES ( ?r ) { ( resource:Behnaz_Akhgar ) ( resource:Coleman_Mellett ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q5143018,P27,c(Q15617994)), (Q4880952,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5143018
relation P27
action find
entity Q4880952
relation P27
type Q15617994
[ANSWERS] are Coleman Mellett or Behnaz Akhgar an inhabitant of
{'OR': [['Q5143018', 'P27', {'concept': 'Q15617994'}], ['Q4880952', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:P27 ?s . VALUES ( ?r ) { ( resource:Q4880952 ) ( resource:Q5143018 ) } } . ?s rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are Coleman Mellett or Behnaz Akhgar an inhabitant of
United States of America United Kingdom
action filter_type
action union
action find
entity Coleman Mellett
relation country of citizenship
action find
entity Behnaz Akhgar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Behnaz Akhgar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:country_of_citizenship ?s . VALUES ( ?r ) { ( resource:Behnaz_Akhgar ) ( resource:Coleman_Mellett ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q496734
P495
Q838948
USER
Are those administrative territories a country of origin of Equus ?
(Q496734,P495,Q30) (Q496734,P495,Q145)
action is_in
entity prev_answer
action find
entity Q496734
relation P495
['Q496734', 'P495', 'Q30'] ['Q496734', 'P495', 'Q145']
ASK WHERE { resource:Q496734 property:P495 ?h . VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q145 ) } }
Equus
action is_in
entity prev_answer
action find
entity Equus
relation country of origin
['Equus', 'country of origin', 'United States of America'] ['Equus', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Equus property:country_of_origin ?h . VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
YES
(Q496734,P495,Q30) (Q496734,P495,Q145)
action is_in
entity prev_answer
action find
entity Q496734
relation P495
[ANSWER]
['Q496734', 'P495', 'Q30'] ['Q496734', 'P495', 'Q145']
ASK WHERE { resource:Q496734 property:P495 ?h . VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Equus
relation country of origin
['Equus', 'country of origin', 'United States of America'] ['Equus', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Equus property:country_of_origin ?h . VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q155364 Q5143018
P27
Q15617994
USER
Which administrative territories do Coleman Mellett or Marieh Delfino belong to ?
OR((Q5143018,P27,c(Q15617994)), (Q155364,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5143018
relation P27
action find
entity Q155364
relation P27
type Q15617994
{'OR': [['Q5143018', 'P27', {'concept': 'Q15617994'}], ['Q155364', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q155364 property:P27 ?d } UNION { resource:Q5143018 property:P27 ?d } } }
Marieh Delfino Coleman Mellett
action filter_type
action union
action find
entity Coleman Mellett
relation country of citizenship
action find
entity Marieh Delfino
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marieh Delfino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Marieh_Delfino property:country_of_citizenship ?d } UNION { resource:Coleman_Mellett property:country_of_citizenship ?d } } }
[]
designation for an administrative territorial entity
Q30 Q717
SYSTEM
United States of America, Venezuela
Q30 Q717
OR((Q5143018,P27,c(Q15617994)), (Q155364,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5143018
relation P27
action find
entity Q155364
relation P27
type Q15617994
Coleman Mellett or Marieh Delfino belong to the [ANSWERS]
{'OR': [['Q5143018', 'P27', {'concept': 'Q15617994'}], ['Q155364', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q155364 property:P27 ?d } UNION { resource:Q5143018 property:P27 ?d } } }
United States of America Venezuela
Coleman Mellett or Marieh Delfino belong to the United States of America and Venezuela
United States of America Venezuela
action filter_type
action union
action find
entity Coleman Mellett
relation country of citizenship
action find
entity Marieh Delfino
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Coleman Mellett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marieh Delfino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Marieh_Delfino property:country_of_citizenship ?d } UNION { resource:Coleman_Mellett property:country_of_citizenship ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q846
P530
Q1048835
USER
How many political territories have diplomatic associations with United Kingdom and Qatar ?
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q846
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P530 resource:Q846 . ?r rdf:type ontology:Q1048835 . ?r property:P530 resource:Q145 . ?r rdf:type ontology:Q1048835 }
United Kingdom Qatar
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:diplomatic_relation resource:Qatar . ?r rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation resource:United_Kingdom . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q846
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P530 resource:Q846 . ?r rdf:type ontology:Q1048835 . ?r property:P530 resource:Q145 . ?r rdf:type ontology:Q1048835 }
Australia Canada
2
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:diplomatic_relation resource:Qatar . ?r rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation resource:United_Kingdom . ?r rdf:type ontology:political_territorial_entity }
[]