Simple Question (Direct)
Simple Question
Q950348
P19
Q15617994
USER
Where was Göran Bergort born ?
(Q950348,P19,c(Q15617994))
action filter_type
action find
entity Q950348
relation P19
type Q15617994
['Q950348', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q950348 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Göran Bergort
action filter_type
action find
entity Göran Bergort
relation place of birth
type designation for an administrative territorial entity
['Göran Bergort', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Göran_Bergort property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q950348,P19,c(Q15617994))
action filter_type
action find
entity Q950348
relation P19
type Q15617994
Göran Bergort was born in [ANSWER]
['Q950348', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q950348 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Sweden
Göran Bergort was born in Sweden
Sweden
action filter_type
action find
entity Göran Bergort
relation place of birth
type designation for an administrative territorial entity
['Göran Bergort', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Göran_Bergort property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q950348
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q34,P27,c(Q15617994))
action filter_type
action find
entity Q950348
relation P27
type Q15617994
['Q34', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q950348 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Göran Bergort
action filter_type
action find
entity Göran Bergort
relation country of citizenship
type designation for an administrative territorial entity
['Sweden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Göran_Bergort property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q34,P27,c(Q15617994))
action filter_type
action find
entity Q950348
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q34', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q950348 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Sweden
Sweden is that person a civilian of
Sweden
action filter_type
action find
entity Göran Bergort
relation country of citizenship
type designation for an administrative territorial entity
['Sweden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Göran_Bergort property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q950348
P106
Q12737077
USER
What do that person do for a living ?
(Q34,P106,c(Q12737077))
action filter_type
action find
entity Q950348
relation P106
type Q12737077
['Q34', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q950348 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Göran Bergort
action filter_type
action find
entity Göran Bergort
relation occupation
type occupation
['Sweden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Göran_Bergort property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q34,P106,c(Q12737077))
action filter_type
action find
entity Q950348
relation P106
type Q12737077
And [ANSWERS] that person do for a living
['Q34', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q950348 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football manager association football player
And association football manager and association football player that person do for a living
association football manager association football player
action filter_type
action find
entity Göran Bergort
relation occupation
type occupation
['Sweden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Göran_Bergort property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q37693
P941
Q502895 Q340169 Q6619679
USER
Which people inspired greater number of medias or fictional humanoids than Paul Gauguin ?
(c(Q340169)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q37693
relation P941
type Q340169
type Q6619679
[[{'concept': 'Q340169'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?o WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q340169 ) ( ontology:Q6619679 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P941 resource:Q37693 . { { ?d rdf:type ontology:Q340169 } UNION { ?d rdf:type ontology:Q6619679 } } } } . FILTER ( ?n > ?m ) }
Paul Gauguin
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Paul Gauguin
relation inspired by
type media
type fictional humanoid
[[{'concept': 'media'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?o WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:media ) ( ontology:fictional_humanoid ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:inspired_by resource:Paul_Gauguin . { { ?d rdf:type ontology:media } UNION { ?d rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?n > ?m ) }
[]
common name media fictional humanoid
Q22686 Q183458 Q2907490
SYSTEM
Donald Trump, Andrea del Verrocchio, Bo Gritz
Q2907490 Q183458 Q22686 Q2409128
(c(Q340169)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q37693
relation P941
type Q340169
type Q6619679
[ANSWERS] inspired greater number of medias or fictional humanoids than Paul Gauguin
[[{'concept': 'Q340169'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?o WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q340169 ) ( ontology:Q6619679 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P941 resource:Q37693 . { { ?d rdf:type ontology:Q340169 } UNION { ?d rdf:type ontology:Q6619679 } } } } . FILTER ( ?n > ?m ) }
Bo Gritz Andrea del Verrocchio Donald Trump Dušan Popov
Donald Trump, Andrea del Verrocchio and Bo Gritz inspired greater number of medias or fictional humanoids than Paul Gauguin
Donald Trump Andrea del Verrocchio Bo Gritz
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Paul Gauguin
relation inspired by
type media
type fictional humanoid
[[{'concept': 'media'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?o WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:media ) ( ontology:fictional_humanoid ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:inspired_by resource:Paul_Gauguin . { { ?d rdf:type ontology:media } UNION { ?d rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?n > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q558333
P941
Q502895 Q340169 Q6619679
USER
And what about Buddy Hackett?
(c(Q340169)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q558333
relation P941
type Q340169
type Q6619679
[[{'concept': 'Q340169'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 . ?q property:P941 ?y } UNION { ?q property:P941 ?y . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q340169 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P941 resource:Q558333 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q6619679 } } } } . FILTER ( ?e > ?u ) }
Buddy Hackett
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Buddy Hackett
relation inspired by
type media
type fictional humanoid
[[{'concept': 'media'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name . ?q property:inspired_by ?y } UNION { ?q property:inspired_by ?y . ?y rdf:type ontology:common_name . ?q rdf:type ontology:media } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:inspired_by resource:Buddy_Hackett . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?e > ?u ) }
[]
common name media fictional humanoid
Q22686 Q183458 Q2907490
SYSTEM
Donald Trump, Andrea del Verrocchio, Bo Gritz
Q2907490 Q183458 Q22686 Q2409128
(c(Q340169)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q558333
relation P941
type Q340169
type Q6619679
[ANSWERS]
[[{'concept': 'Q340169'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 . ?q property:P941 ?y } UNION { ?q property:P941 ?y . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q340169 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P941 resource:Q558333 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q6619679 } } } } . FILTER ( ?e > ?u ) }
Bo Gritz Andrea del Verrocchio Donald Trump Dušan Popov
Donald Trump Andrea del Verrocchio Bo Gritz
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Buddy Hackett
relation inspired by
type media
type fictional humanoid
[[{'concept': 'media'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name . ?q property:inspired_by ?y } UNION { ?q property:inspired_by ?y . ?y rdf:type ontology:common_name . ?q rdf:type ontology:media } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:inspired_by resource:Buddy_Hackett . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?e > ?u ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16232910 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation and did Manuel Sarao participate in ?
AND((Q937857,P425,c(Q349)), (Q16232910,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q16232910
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q16232910', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { resource:Q937857 property:P425 ?f . resource:Q16232910 property:P641 ?f . ?f rdf:type ontology:Q349 }
Manuel Sarao association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Manuel Sarao
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Manuel Sarao', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { resource:association_football_player property:field_of_this_occupation ?f . resource:Manuel_Sarao property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q16232910,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q16232910
relation P641
type Q349
Team [ANSWER] have [ANSWER] player as the associated fields of occupation and did Manuel Sarao participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q16232910', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { resource:Q937857 property:P425 ?f . resource:Q16232910 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
Team association football have association football player as the associated fields of occupation and did Manuel Sarao participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Manuel Sarao
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Manuel Sarao', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { resource:association_football_player property:field_of_this_occupation ?f . resource:Manuel_Sarao property:sport ?f . ?f rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
Which occupations were the main subjects of around 2 articles or works of art 's work ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 2
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?q rdf:type ?m } GROUP BY ?d } . FILTER ( ?p = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 2
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?d WHERE { VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } . ?q rdf:type ?m } GROUP BY ?d } . FILTER ( ?p = 2 ) }
[]
occupation article work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 2
[ANSWERS] were the main subjects of around 2 articles or works of art 's work
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?q rdf:type ?m } GROUP BY ?d } . FILTER ( ?p = 2 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of around 2 articles or works of art 's work
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 2
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?d WHERE { VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } . ?q rdf:type ?m } GROUP BY ?d } . FILTER ( ?p = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13390223 Q34
P530 P1001
Q15617994
USER
Which administrative territories have diplomatic relationships with Sweden or come under the jurisdiction of Cambodia–Thailand border ?
OR((Q34,P530,c(Q15617994)), (Q13390223,P1001,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q13390223
relation P1001
type Q15617994
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q13390223', 'P1001', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q34 property:P530 ?p } UNION { resource:Q13390223 property:P1001 ?p } } . ?p rdf:type ontology:Q15617994 }
Cambodia–Thailand border Sweden
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Cambodia–Thailand border
relation applies to jurisdiction
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cambodia–Thailand border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sweden property:diplomatic_relation ?p } UNION { resource:Cambodia–Thailand_border property:applies_to_jurisdiction ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q869 Q38 Q424
SYSTEM
Philippines, Thailand, Italy, Cambodia
Q928 Q869 Q38 Q424
OR((Q34,P530,c(Q15617994)), (Q13390223,P1001,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q13390223
relation P1001
type Q15617994
[ANSWERS] have diplomatic relationships with Sweden or come under the jurisdiction of Cambodia–Thailand border
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q13390223', 'P1001', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q34 property:P530 ?p } UNION { resource:Q13390223 property:P1001 ?p } } . ?p rdf:type ontology:Q15617994 }
Philippines Thailand Italy Cambodia
Philippines, Thailand, Italy and Cambodia have diplomatic relationships with Sweden or come under the jurisdiction of Cambodia–Thailand border
Philippines Thailand Italy Cambodia
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Cambodia–Thailand border
relation applies to jurisdiction
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cambodia–Thailand border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sweden property:diplomatic_relation ?p } UNION { resource:Cambodia–Thailand_border property:applies_to_jurisdiction ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q869
P85
Q484692
USER
What is the national anthem of that administrative territory ?
(Q869,P85,c(Q484692))
action filter_type
action find
entity Q869
relation P85
type Q484692
['Q869', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?y WHERE { resource:Q869 property:P85 ?y . ?y rdf:type ontology:Q484692 }
Thailand
action filter_type
action find
entity Thailand
relation anthem
type hymn
['Thailand', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?y WHERE { resource:Thailand property:anthem ?y . ?y rdf:type ontology:hymn }
[]
hymn
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q928 Q869 Q38 Q424
(Q928,P85,c(Q484692)) (Q869,P85,c(Q484692)) (Q38,P85,c(Q484692)) (Q424,P85,c(Q484692))
[ANSWER]
['Q928', 'P85', {'concept': 'Q484692'}] ['Q869', 'P85', {'concept': 'Q484692'}] ['Q38', 'P85', {'concept': 'Q484692'}] ['Q424', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?y WHERE { resource:Q869 property:P85 ?y . ?y rdf:type ontology:Q484692 }
Philippines Thailand Italy Cambodia
Did you mean Italy ?
Italy
['Philippines', 'anthem', {'concept': 'hymn'}] ['Thailand', 'anthem', {'concept': 'hymn'}] ['Italy', 'anthem', {'concept': 'hymn'}] ['Cambodia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?y WHERE { resource:Thailand property:anthem ?y . ?y rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
USER
No, I meant Thailand. Could you tell me the answer for that?
(Q869,P85,c(Q484692))
Q869
['Q869', 'P85', {'concept': 'Q484692'}]
['Thailand', 'anthem', {'concept': 'hymn'}]
[]
Q207868
SYSTEM
Thai National Anthem
Q207868
(Q869,P85,c(Q484692))
action filter_type
action find
entity Q869
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q869', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?y WHERE { resource:Q869 property:P85 ?y . ?y rdf:type ontology:Q484692 }
Thai National Anthem
The national anthem of that administrative territory is the Thai National Anthem
Thai National Anthem
action filter_type
action find
entity Thailand
relation anthem
type hymn
['Thailand', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?y WHERE { resource:Thailand property:anthem ?y . ?y rdf:type ontology:hymn }
[]