Simple Question (Direct)
Simple Question
Q10512659
P734
Q82799
USER
Who is associated with Göran Bexell ?
(Q10512659,P734,c(Q82799))
action filter_type
action find
entity Q10512659
relation P734
type Q82799
['Q10512659', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q10512659 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Göran Bexell
action filter_type
action find
entity Göran Bexell
relation family name
type name
['Göran Bexell', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Göran_Bexell property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q23134014
SYSTEM
Bexell
Q23134014
(Q10512659,P734,c(Q82799))
action filter_type
action find
entity Q10512659
relation P734
type Q82799
G [ANSWER] is associated with Göran [ANSWER]
['Q10512659', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q10512659 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Bexell
G Bexell is associated with Göran Bexell
Bexell
action filter_type
action find
entity Göran Bexell
relation family name
type name
['Göran Bexell', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Göran_Bexell property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10512659
P641
Q349
USER
Which sport was Göran Bexell a part of ?
(Q10512659,P641,c(Q349))
action filter_type
action find
entity Q10512659
relation P641
type Q349
['Q10512659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q10512659 property:P641 ?e . ?e rdf:type ontology:Q349 }
Göran Bexell
action filter_type
action find
entity Göran Bexell
relation sport
type sport
['Göran Bexell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Göran_Bexell property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10512659,P641,c(Q349))
action filter_type
action find
entity Q10512659
relation P641
type Q349
Which sport was Göran Bexell a part of
['Q10512659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q10512659 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Which sport was Göran Bexell a part of
association football
action filter_type
action find
entity Göran Bexell
relation sport
type sport
['Göran Bexell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Göran_Bexell property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10512659
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q10512659
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q10512659 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Göran Bexell
action filter_type
action find
entity Göran Bexell
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Göran_Bexell property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q10512659
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q10512659 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
That person belongs to a Sweden
Sweden
action filter_type
action find
entity Göran Bexell
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Göran_Bexell property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P937
Q43229 Q502895
USER
How many organizations or people have Sweden as their work location ?
(c(Q43229),P937,Q34) (c(Q502895),P937,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P937
type Q43229
action filter_type
action find_reverse
entity Q34
relation P937
type Q502895
[{'concept': 'Q43229'}, 'P937', 'Q34'] [{'concept': 'Q502895'}, 'P937', 'Q34']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } }
Sweden
action count
action union
action filter_type
action find_reverse
entity Sweden
relation work location
type organization
action filter_type
action find_reverse
entity Sweden
relation work location
type common name
[{'concept': 'organization'}, 'work location', 'Sweden'] [{'concept': 'common name'}, 'work location', 'Sweden']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:organization ) } }
[]
organization common name
SYSTEM
3
Q39658 Q3218964 Q10511139
(c(Q43229),P937,Q34) (c(Q502895),P937,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P937
type Q43229
action filter_type
action find_reverse
entity Q34
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q43229'}, 'P937', 'Q34'] [{'concept': 'Q502895'}, 'P937', 'Q34']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } }
Carl Peter Thunberg Laurens de Geer The French Theater of Gustav III
3
action count
action union
action filter_type
action find_reverse
entity Sweden
relation work location
type organization
action filter_type
action find_reverse
entity Sweden
relation work location
type common name
[{'concept': 'organization'}, 'work location', 'Sweden'] [{'concept': 'common name'}, 'work location', 'Sweden']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P463
Q43229
USER
What were Sweden a member of ?
(Q34,P463,c(Q43229))
action filter_type
action find
entity Q34
relation P463
type Q43229
['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q34 property:P463 ?n . ?n rdf:type ontology:Q43229 }
Sweden
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Sweden property:member_of ?n . ?n rdf:type ontology:organization }
[]
organization
Q151991 Q7825 Q41550
SYSTEM
European Southern Observatory, World Trade Organization, Organisation for Economic Co-operation and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q34,P463,c(Q43229))
action filter_type
action find
entity Q34
relation P463
type Q43229
Sweden were a member of [ANSWERS]
['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q34 property:P463 ?n . ?n rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
Sweden were a member of European Southern Observatory, World Trade Organization and Organisation for Economic Co-operation and Development
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Sweden property:member_of ?n . ?n rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2831574 Q34
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Sweden or are Albert Terken a civilian of ?
OR((Q34,P530,c(Q15617994)), (Q2831574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q2831574
relation P27
type Q15617994
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q2831574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q34 property:P530 ?v } UNION { resource:Q2831574 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Albert Terken Sweden
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Albert Terken
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Albert Terken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Sweden property:diplomatic_relation ?v } UNION { resource:Albert_Terken property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q31 Q38
SYSTEM
Philippines, Belgium, Italy
Q928 Q31 Q38
OR((Q34,P530,c(Q15617994)), (Q2831574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q2831574
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Sweden or are Albert Terken a civilian of
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q2831574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q34 property:P530 ?v } UNION { resource:Q2831574 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Philippines Belgium Italy
Philippines, Belgium and Italy have a diplomatic relationship with Sweden or are Albert Terken a civilian of
Philippines Belgium Italy
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Albert Terken
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Albert Terken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Sweden property:diplomatic_relation ?v } UNION { resource:Albert_Terken property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q27
P122
Q43229 Q15617994 Q15617994
USER
Which administrative territories have more number of organizations or administrative territories as the form of government than Ireland ?
(c(Q15617994),P122,c(Q43229)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q27
relation P122
type Q43229
type Q15617994
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q27 property:P122 ?g . { { ?g rdf:type ontology:Q43229 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?s > ?m ) }
Ireland
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ireland
relation basic form of government
type organization
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Ireland property:basic_form_of_government ?g . { { ?g rdf:type ontology:organization } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?s > ?m ) }
[]
organization designation for an administrative territorial entity designation for an administrative territorial entity
Q889 Q238 Q815731
SYSTEM
Afghanistan, San Marino, Principality of Bulgaria
Q889 Q689837 Q238 Q815731 Q1483510
(c(Q15617994),P122,c(Q43229)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q27
relation P122
type Q43229
type Q15617994
[ANSWERS] have more number of organizations or administrative territories as the form of government than Ireland
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q27 property:P122 ?g . { { ?g rdf:type ontology:Q43229 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?s > ?m ) }
Afghanistan Spanish Sahara San Marino Principality of Bulgaria Principality of Wales
Afghanistan, San Marino and Principality of Bulgaria have more number of organizations or administrative territories as the form of government than Ireland
Afghanistan San Marino Principality of Bulgaria
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ireland
relation basic form of government
type organization
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Ireland property:basic_form_of_government ?g . { { ?g rdf:type ontology:organization } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?s > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1045
P122
Q43229 Q15617994 Q15617994
USER
And how about Somalia?
(c(Q15617994),P122,c(Q43229)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q1045
relation P122
type Q43229
type Q15617994
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q1045 property:P122 ?d . { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?o property:P122 ?x } UNION { ?o property:P122 ?x . ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q43229 } } GROUP BY ?o } }
Somalia
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Somalia
relation basic form of government
type organization
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Somalia property:basic_form_of_government ?d . { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:basic_form_of_government ?x } UNION { ?o property:basic_form_of_government ?x . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:organization } } GROUP BY ?o } }
[]
organization designation for an administrative territorial entity designation for an administrative territorial entity
Q889 Q238 Q815731
SYSTEM
Afghanistan, San Marino, Principality of Bulgaria
Q889 Q689837 Q238 Q815731 Q1483510
(c(Q15617994),P122,c(Q43229)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q1045
relation P122
type Q43229
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q1045 property:P122 ?d . { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?o property:P122 ?x } UNION { ?o property:P122 ?x . ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q43229 } } GROUP BY ?o } }
Afghanistan Spanish Sahara San Marino Principality of Bulgaria Principality of Wales
Afghanistan San Marino Principality of Bulgaria
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Somalia
relation basic form of government
type organization
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Somalia property:basic_form_of_government ?d . { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:basic_form_of_government ?x } UNION { ?o property:basic_form_of_government ?x . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:organization } } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3528465 Q34
P530 P183
Q15617994
USER
Which administrative territories have a diplomatic relationship with Sweden or are Tillandsia heptantha endemic to ?
OR((Q34,P530,c(Q15617994)), (Q3528465,P183,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q3528465
relation P183
type Q15617994
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q3528465', 'P183', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q34 property:P530 ?h } UNION { resource:Q3528465 property:P183 ?h } } }
Tillandsia heptantha Sweden
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Tillandsia heptantha
relation endemic to
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Tillandsia heptantha', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sweden property:diplomatic_relation ?h } UNION { resource:Tillandsia_heptantha property:endemic_to ?h } } }
[]
designation for an administrative territorial entity
Q928 Q419 Q38
SYSTEM
Philippines, Peru, Italy
Q928 Q419 Q38
OR((Q34,P530,c(Q15617994)), (Q3528465,P183,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q3528465
relation P183
type Q15617994
[ANSWERS] have a diplomatic relationship with Sweden or are Tillandsia heptantha endemic to
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q3528465', 'P183', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q34 property:P530 ?h } UNION { resource:Q3528465 property:P183 ?h } } }
Philippines Peru Italy
Philippines, Peru and Italy have a diplomatic relationship with Sweden or are Tillandsia heptantha endemic to
Philippines Peru Italy
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Tillandsia heptantha
relation endemic to
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Tillandsia heptantha', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sweden property:diplomatic_relation ?h } UNION { resource:Tillandsia_heptantha property:endemic_to ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those administrative territories ?
(Q408,P530,Q928) (Q408,P530,Q419) (Q408,P530,Q38)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q928'] ['Q408', 'P530', 'Q419'] ['Q408', 'P530', 'Q38']
ASK WHERE { resource:Q408 property:P530 ?h . VALUES ( ?h ) { ( resource:Q928 ) ( resource:Q419 ) ( resource:Q38 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Philippines'] ['Australia', 'diplomatic relation', 'Peru'] ['Australia', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Australia property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Philippines ) ( resource:Peru ) ( resource:Italy ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q928) (Q408,P530,Q419) (Q408,P530,Q38)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q928'] ['Q408', 'P530', 'Q419'] ['Q408', 'P530', 'Q38']
ASK WHERE { resource:Q408 property:P530 ?h . VALUES ( ?h ) { ( resource:Q928 ) ( resource:Q419 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Philippines'] ['Australia', 'diplomatic relation', 'Peru'] ['Australia', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Australia property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Philippines ) ( resource:Peru ) ( resource:Italy ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q889 Q2054905
P163
Q14660
USER
Is pennant associated with Afghanistan ?
(Q889,P163,Q2054905)
action is_in
entity Q2054905
action find
entity Q889
relation P163
['Q889', 'P163', 'Q2054905']
ASK WHERE { resource:Q889 property:P163 resource:Q2054905 }
Afghanistan pennant
action is_in
entity pennant
action find
entity Afghanistan
relation flag
['Afghanistan', 'flag', 'pennant']
ASK WHERE { resource:Afghanistan property:flag resource:pennant }
[]
flag
SYSTEM
NO
(Q889,P163,Q2054905)
action is_in
entity Q2054905
action find
entity Q889
relation P163
[ANSWER]
['Q889', 'P163', 'Q2054905']
ASK WHERE { resource:Q889 property:P163 resource:Q2054905 }
No
action is_in
entity pennant
action find
entity Afghanistan
relation flag
['Afghanistan', 'flag', 'pennant']
ASK WHERE { resource:Afghanistan property:flag resource:pennant }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q889
P915
Q15416
USER
Which television program was filmed in the location that administrative territory ?
action filter_type
action find_reverse
entity Q889
relation P915
type Q15416
SELECT DISTINCT ?j WHERE { ?j property:P915 resource:Q889 . ?j rdf:type ontology:Q15416 }
Afghanistan
action filter_type
action find_reverse
entity Afghanistan
relation filming location
type television program
SELECT DISTINCT ?j WHERE { ?j property:filming_location resource:Afghanistan . ?j rdf:type ontology:television_program }
[]
television program
Q4940423
SYSTEM
Bomb Patrol Afghanistan
Q4940423
action filter_type
action find_reverse
entity Q889
relation P915
type Q15416
[ANSWER] was filmed in the location that administrative territory
SELECT DISTINCT ?j WHERE { ?j property:P915 resource:Q889 . ?j rdf:type ontology:Q15416 }
Bomb Patrol Afghanistan
Bomb Patrol Afghanistan was filmed in the location that administrative territory
Bomb Patrol Afghanistan
action filter_type
action find_reverse
entity Afghanistan
relation filming location
type television program
SELECT DISTINCT ?j WHERE { ?j property:filming_location resource:Afghanistan . ?j rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q889
P35
Q502895
USER
Who are the chiefs of state of that administrative territory ?
(Q4940423,P35,c(Q502895))
action filter_type
action find
entity Q889
relation P35
type Q502895
['Q4940423', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q889 property:P35 ?c }
Afghanistan
action filter_type
action find
entity Afghanistan
relation head of state
type common name
['Bomb Patrol Afghanistan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Afghanistan property:head_of_state ?c }
[]
common name
Q152265 Q207728 Q172388
SYSTEM
Mohammed Zahir Shah, Mohammad Najibullah, Ashraf Ghani Ahmadzai
Q188667 Q172388 Q153620 Q355610 Q207728 Q471037 Q473247 Q310247 Q152265
(Q4940423,P35,c(Q502895))
action filter_type
action find
entity Q889
relation P35
type Q502895
The chiefs of state of that administrative territory are [ANSWERS]
['Q4940423', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q889 property:P35 ?c }
Burhanuddin Rabbani Ashraf Ghani Ahmadzai Amānullāh Khān Mohammed Nadir Shah Mohammad Najibullah Inayatullah Khan Habibullāh Kalakāni Mohammed Daoud Khan Mohammed Zahir Shah
The chiefs of state of that administrative territory are Mohammed Zahir Shah, Mohammad Najibullah and Ashraf Ghani Ahmadzai
Mohammed Zahir Shah Mohammad Najibullah Ashraf Ghani Ahmadzai
action filter_type
action find
entity Afghanistan
relation head of state
type common name
['Bomb Patrol Afghanistan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Afghanistan property:head_of_state ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q152265 Q207728 Q172388
P27
Q15617994
USER
Which administrative territories are the native countriesof Mohammed Zahir Shah, Mohammad Najibullah and Ashraf Ghani Ahmadzai ?
(Q152265,P27,c(Q15617994)) (Q207728,P27,c(Q15617994)) (Q172388,P27,c(Q15617994))
action union
action filter_type
action find
entity Q152265
relation P27
type Q15617994
action filter_type
action find
entity Q207728
relation P27
type Q15617994
action filter_type
action find
entity Q172388
relation P27
type Q15617994
['Q152265', 'P27', {'concept': 'Q15617994'}] ['Q207728', 'P27', {'concept': 'Q15617994'}] ['Q172388', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q152265 property:P27 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q207728 property:P27 ?a . ?a rdf:type ontology:Q15617994 } }
Mohammed Zahir Shah Mohammad Najibullah Ashraf Ghani Ahmadzai
action union
action filter_type
action find
entity Mohammed Zahir Shah
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mohammad Najibullah
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Ashraf Ghani Ahmadzai
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Zahir Shah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mohammad Najibullah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ashraf Ghani Ahmadzai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Mohammed_Zahir_Shah property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Mohammad_Najibullah property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q889 Q889 Q889
SYSTEM
Afghanistan
Q889 Q889 Q889
(Q152265,P27,c(Q15617994)) (Q207728,P27,c(Q15617994)) (Q172388,P27,c(Q15617994))
action union
action filter_type
action find
entity Q152265
relation P27
type Q15617994
action filter_type
action find
entity Q207728
relation P27
type Q15617994
action filter_type
action find
entity Q172388
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the native countriesof Mohammed Zahir Shah, Mohammad Najibullah and Ashraf Ghani Ahmadzai
['Q152265', 'P27', {'concept': 'Q15617994'}] ['Q207728', 'P27', {'concept': 'Q15617994'}] ['Q172388', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q152265 property:P27 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q207728 property:P27 ?a . ?a rdf:type ontology:Q15617994 } }
Afghanistan Afghanistan Afghanistan
Afghanistan, Afghanistan and Afghanistan are the native countriesof Mohammed Zahir Shah, Mohammad Najibullah and Ashraf Ghani Ahmadzai
Afghanistan Afghanistan Afghanistan
action union
action filter_type
action find
entity Mohammed Zahir Shah
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mohammad Najibullah
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Ashraf Ghani Ahmadzai
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Zahir Shah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mohammad Najibullah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ashraf Ghani Ahmadzai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Mohammed_Zahir_Shah property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Mohammad_Najibullah property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]