Simple Question (Direct)
Simple Question
Q610747
P19
Q56061
USER
Which administrative territory was Alexander Gerndt born at ?
(Q610747,P19,c(Q56061))
action filter_type
action find
entity Q610747
relation P19
type Q56061
['Q610747', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q610747 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Alexander Gerndt
action filter_type
action find
entity Alexander Gerndt
relation place of birth
type administrative territorial entity
['Alexander Gerndt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Alexander_Gerndt property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54757
SYSTEM
Visby
Q54757
(Q610747,P19,c(Q56061))
action filter_type
action find
entity Q610747
relation P19
type Q56061
Alexander Gerndt was born in [ANSWER]
['Q610747', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q610747 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Visby
Alexander Gerndt was born in Visby
Visby
action filter_type
action find
entity Alexander Gerndt
relation place of birth
type administrative territorial entity
['Alexander Gerndt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Alexander_Gerndt property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q610747
P106
Q12737077
USER
What does Alexander Gerndt do for a living ?
(Q610747,P106,c(Q12737077))
action filter_type
action find
entity Q610747
relation P106
type Q12737077
['Q610747', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q610747 property:P106 ?c }
Alexander Gerndt
action filter_type
action find
entity Alexander Gerndt
relation occupation
type occupation
['Alexander Gerndt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Alexander_Gerndt property:occupation ?c }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q610747,P106,c(Q12737077))
action filter_type
action find
entity Q610747
relation P106
type Q12737077
Alexander Gerndt does an [ANSWER] for a living
['Q610747', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q610747 property:P106 ?c }
association football player
Alexander Gerndt does an association football player for a living
association football player
action filter_type
action find
entity Alexander Gerndt
relation occupation
type occupation
['Alexander Gerndt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Alexander_Gerndt property:occupation ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q5229740
P106
Q502895
USER
Does Dave Ruby have that occupation as his/her means of employment ?
(Q5229740,P106,Q937857)
action is_in
entity Q5229740
action find
entity Q937857
relation P106
['Q5229740', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q5229740 }
association football player Dave Ruby
action is_in
entity Dave Ruby
action find
entity association football player
relation occupation
['Dave Ruby', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Dave_Ruby }
[]
common name
SYSTEM
NO
(Q5229740,P106,Q937857)
action is_in
entity Q5229740
action find
entity Q937857
relation P106
[ANSWER]
['Q5229740', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q5229740 }
No
action is_in
entity Dave Ruby
action find
entity association football player
relation occupation
['Dave Ruby', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Dave_Ruby }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54757
P190
Q56061
USER
Which administrative territories are sister towns of Visby ?
(Q54757,P190,c(Q56061))
action filter_type
action find
entity Q54757
relation P190
type Q56061
['Q54757', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q54757 property:P190 ?m }
Visby
action filter_type
action find
entity Visby
relation sister city
type administrative territorial entity
['Visby', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Visby property:sister_city ?m }
[]
administrative territorial entity
Q48329 Q188731
SYSTEM
Mariehamn, Rhodes
Q48329 Q188731
(Q54757,P190,c(Q56061))
action filter_type
action find
entity Q54757
relation P190
type Q56061
[ANSWERS] are sister towns of Visby
['Q54757', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q54757 property:P190 ?m }
Mariehamn Rhodes
Mariehamn and Rhodes are sister towns of Visby
Mariehamn Rhodes
action filter_type
action find
entity Visby
relation sister city
type administrative territorial entity
['Visby', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Visby property:sister_city ?m }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19968795 Q610747
P19 P27
Q15617994
USER
Which administrative territories are Alexander Gerndt an inhabitant of or were Kombi Mandjang born in ?
OR((Q610747,P27,c(Q15617994)), (Q19968795,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q610747
relation P27
action find
entity Q19968795
relation P19
type Q15617994
{'OR': [['Q610747', 'P27', {'concept': 'Q15617994'}], ['Q19968795', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q610747 property:P27 ?r } UNION { resource:Q19968795 property:P19 ?r } } . ?r rdf:type ontology:Q15617994 }
Kombi Mandjang Alexander Gerndt
action filter_type
action union
action find
entity Alexander Gerndt
relation country of citizenship
action find
entity Kombi Mandjang
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Alexander Gerndt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kombi Mandjang', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Alexander_Gerndt property:country_of_citizenship ?r } UNION { resource:Kombi_Mandjang property:place_of_birth ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009 Q34
SYSTEM
Cameroon, Sweden
Q1009 Q34
OR((Q610747,P27,c(Q15617994)), (Q19968795,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q610747
relation P27
action find
entity Q19968795
relation P19
type Q15617994
[ANSWERS] are Alexander Gerndt an inhabitant of or were Kombi Mandjang born in
{'OR': [['Q610747', 'P27', {'concept': 'Q15617994'}], ['Q19968795', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q610747 property:P27 ?r } UNION { resource:Q19968795 property:P19 ?r } } . ?r rdf:type ontology:Q15617994 }
Cameroon Sweden
Cameroon and Sweden are Alexander Gerndt an inhabitant of or were Kombi Mandjang born in
Cameroon Sweden
action filter_type
action union
action find
entity Alexander Gerndt
relation country of citizenship
action find
entity Kombi Mandjang
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Alexander Gerndt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kombi Mandjang', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Alexander_Gerndt property:country_of_citizenship ?r } UNION { resource:Kombi_Mandjang property:place_of_birth ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did more number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q1009
SYSTEM
Did you mean Cameroon ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Cameroon ?
Cameroon
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
35
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
35
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q233
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with less number of administrative territories than Malta ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?y ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q233 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?n ) }
Malta
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?y ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Malta property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with less number of administrative territories than Malta
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?y ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q233 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?n ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic relations with less number of administrative territories than Malta
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?y ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Malta property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29999 Q786 Q924
P1001
Q14660
USER
Which flags preside the jurisdiction over those administrative territories ?
(c(Q14660),P1001,Q29999) (c(Q14660),P1001,Q786) (c(Q14660),P1001,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q29999'] [{'concept': 'Q14660'}, 'P1001', 'Q786'] [{'concept': 'Q14660'}, 'P1001', 'Q924']
SELECT DISTINCT ?b WHERE { ?b property:P1001 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?b rdf:type ontology:Q14660 }
Kingdom of the Netherlands Dominican Republic Tanzania
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Dominican Republic'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Tanzania']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?b rdf:type ontology:flag }
[]
flag
Q46585 Q184265 Q170809
SYSTEM
flag of the Netherlands, Flag of Dominican Republic, Flag of Tanzania
Q46585 Q184265 Q170809
(c(Q14660),P1001,Q29999) (c(Q14660),P1001,Q786) (c(Q14660),P1001,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] preside the jurisdiction over those administrative territories
[{'concept': 'Q14660'}, 'P1001', 'Q29999'] [{'concept': 'Q14660'}, 'P1001', 'Q786'] [{'concept': 'Q14660'}, 'P1001', 'Q924']
SELECT DISTINCT ?b WHERE { ?b property:P1001 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?b rdf:type ontology:Q14660 }
flag of the Netherlands Flag of Dominican Republic Flag of Tanzania
Flag of the Netherlands, Flag of Dominican Republic and Flag of Tanzania preside the jurisdiction over those administrative territories
flag of the Netherlands Flag of Dominican Republic Flag of Tanzania
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Dominican Republic'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Tanzania']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?b rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46585 Q184265 Q170809
P163
Q15617994
USER
Which administrative territories have their flag named flag of the Netherlands, Flag of Dominican Republic and Flag of Tanzania ?
(c(Q15617994),P163,Q46585) (c(Q15617994),P163,Q184265) (c(Q15617994),P163,Q170809)
action union
action filter_type
action find_reverse
entity Q46585
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q184265
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q170809
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q46585'] [{'concept': 'Q15617994'}, 'P163', 'Q184265'] [{'concept': 'Q15617994'}, 'P163', 'Q170809']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Q46585 ) ( resource:Q184265 ) } . ?w property:P163 ?b }
flag of the Netherlands Flag of Dominican Republic Flag of Tanzania
action union
action filter_type
action find_reverse
entity flag of the Netherlands
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Dominican Republic
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Tanzania
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of the Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Dominican Republic'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Tanzania']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:flag_of_the_Netherlands ) ( resource:Flag_of_Dominican_Republic ) } . ?w property:flag ?b }
[]
designation for an administrative territorial entity
Q55 Q29999 Q786
SYSTEM
Netherlands, Kingdom of the Netherlands, Dominican Republic
Q29999 Q55 Q786 Q924
(c(Q15617994),P163,Q46585) (c(Q15617994),P163,Q184265) (c(Q15617994),P163,Q170809)
action union
action filter_type
action find_reverse
entity Q46585
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q184265
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q170809
relation P163
type Q15617994
[ANSWERS] have their flag named flag of the Netherlands, Flag of Dominican Republic and Flag of Tanzania
[{'concept': 'Q15617994'}, 'P163', 'Q46585'] [{'concept': 'Q15617994'}, 'P163', 'Q184265'] [{'concept': 'Q15617994'}, 'P163', 'Q170809']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Q46585 ) ( resource:Q184265 ) } . ?w property:P163 ?b }
Kingdom of the Netherlands Netherlands Dominican Republic Tanzania
Netherlands, Kingdom of the Netherlands and Dominican Republic have their flag named flag of the Netherlands, Flag of Dominican Republic and Flag of Tanzania
Netherlands Kingdom of the Netherlands Dominican Republic
action union
action filter_type
action find_reverse
entity flag of the Netherlands
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Dominican Republic
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Tanzania
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of the Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Dominican Republic'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Tanzania']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:flag_of_the_Netherlands ) ( resource:Flag_of_Dominican_Republic ) } . ?w property:flag ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55 Q29999 Q786
P17
Q14524493
USER
Which terrains are present in Netherlands, Kingdom of the Netherlands and Dominican Republic ?
(c(Q14524493),P17,Q55) (c(Q14524493),P17,Q29999) (c(Q14524493),P17,Q786)
action union
action filter_type
action find_reverse
entity Q55
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q29999
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q786
relation P17
type Q14524493
[{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q786']
SELECT DISTINCT ?v WHERE { ?v property:P17 ?t . VALUES ( ?t ) { ( resource:Q55 ) ( resource:Q29999 ) } }
Netherlands Kingdom of the Netherlands Dominican Republic
action union
action filter_type
action find_reverse
entity Netherlands
relation country
type terrain
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type terrain
action filter_type
action find_reverse
entity Dominican Republic
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Dominican Republic']
SELECT DISTINCT ?v WHERE { ?v property:country ?t . VALUES ( ?t ) { ( resource:Netherlands ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
terrain
Q783742 Q159860 Q8118701
SYSTEM
Pico Duarte, Vaalserberg, Sentry Hill
Q2527753 Q3113119 Q2499770 Q9178935 Q2534914 Q159860 Q1772066 Q2330826 Q2480072 Q2535506 Q2586153 Q4540981 Q2420501 Q8118701 Q783742 Q2403979 Q23768328
(c(Q14524493),P17,Q55) (c(Q14524493),P17,Q29999) (c(Q14524493),P17,Q786)
action union
action filter_type
action find_reverse
entity Q55
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q29999
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q786
relation P17
type Q14524493
[ANSWERS] are present in Netherlands, Kingdom of the Netherlands and Dominican Republic
[{'concept': 'Q14524493'}, 'P17', 'Q55'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q786']
SELECT DISTINCT ?v WHERE { ?v property:P17 ?t . VALUES ( ?t ) { ( resource:Q55 ) ( resource:Q29999 ) } }
Schiphol-Oost Keutenberg Grebbeberg Brandaris Braamberg Vaalserberg Vrouwenheide Schiphol-Zuidoost Media Park Vuurboetsduin Zuidwal volcano Saint Helena Hill Wageningse Berg Sentry Hill Pico Duarte Baoruco Mountain Range Loma La Peguera
Pico Duarte, Vaalserberg and Sentry Hill are present in Netherlands, Kingdom of the Netherlands and Dominican Republic
Pico Duarte Vaalserberg Sentry Hill
action union
action filter_type
action find_reverse
entity Netherlands
relation country
type terrain
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type terrain
action filter_type
action find_reverse
entity Dominican Republic
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Netherlands'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Dominican Republic']
SELECT DISTINCT ?v WHERE { ?v property:country ?t . VALUES ( ?t ) { ( resource:Netherlands ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q783742
P706
Q107425
USER
Which landscape is that terrain located on ?
(Q783742,P706,c(Q107425))
action filter_type
action find
entity Q783742
relation P706
type Q107425
['Q783742', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?y WHERE { resource:Q783742 property:P706 ?y . ?y rdf:type ontology:Q107425 }
Pico Duarte
action filter_type
action find
entity Pico Duarte
relation located on terrain feature
type landscape
['Pico Duarte', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?y WHERE { resource:Pico_Duarte property:located_on_terrain_feature ?y . ?y rdf:type ontology:landscape }
[]
landscape
Clarification for simple ques.
Q783742
SYSTEM
Did you mean Pico Duarte ?
Q783742 Q159860 Q8118701
(Q783742,P706,c(Q107425)) (Q159860,P706,c(Q107425)) (Q8118701,P706,c(Q107425))
[ANSWER]
['Q783742', 'P706', {'concept': 'Q107425'}] ['Q159860', 'P706', {'concept': 'Q107425'}] ['Q8118701', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?y WHERE { resource:Q783742 property:P706 ?y . ?y rdf:type ontology:Q107425 }
Pico Duarte Vaalserberg Sentry Hill
Did you mean Pico Duarte ?
Pico Duarte
['Pico Duarte', 'located on terrain feature', {'concept': 'landscape'}] ['Vaalserberg', 'located on terrain feature', {'concept': 'landscape'}] ['Sentry Hill', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?y WHERE { resource:Pico_Duarte property:located_on_terrain_feature ?y . ?y rdf:type ontology:landscape }
[]
Simple Question (Coreferenced)
USER
Yes
(Q783742,P706,c(Q107425))
['Q783742', 'P706', {'concept': 'Q107425'}]
['Pico Duarte', 'located on terrain feature', {'concept': 'landscape'}]
[]
Q83788
SYSTEM
Cordillera Central
Q83788
(Q783742,P706,c(Q107425))
action filter_type
action find
entity Q783742
relation P706
type Q107425
That terrain is located in [ANSWER]
['Q783742', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?y WHERE { resource:Q783742 property:P706 ?y . ?y rdf:type ontology:Q107425 }
Cordillera Central
That terrain is located in Cordillera Central
Cordillera Central
action filter_type
action find
entity Pico Duarte
relation located on terrain feature
type landscape
['Pico Duarte', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?y WHERE { resource:Pico_Duarte property:located_on_terrain_feature ?y . ?y rdf:type ontology:landscape }
[]