Simple Question (Direct)
Simple Question
Q2051181
P734
Q82799
USER
Who has the surname John Meijer ?
(Q2051181,P734,c(Q82799))
action filter_type
action find
entity Q2051181
relation P734
type Q82799
['Q2051181', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q2051181 property:P734 ?n . ?n rdf:type ontology:Q82799 }
John Meijer
action filter_type
action find
entity John Meijer
relation family name
type name
['John Meijer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:John_Meijer property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q16876776
SYSTEM
Meijer
Q16876776
(Q2051181,P734,c(Q82799))
action filter_type
action find
entity Q2051181
relation P734
type Q82799
[ANSWER] has the surname John [ANSWER]
['Q2051181', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q2051181 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Meijer
Meijer has the surname John Meijer
Meijer
action filter_type
action find
entity John Meijer
relation family name
type name
['John Meijer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:John_Meijer property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2051181
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q16876776,P1303,c(Q34379))
action filter_type
action find
entity Q2051181
relation P1303
type Q34379
['Q16876776', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q2051181 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
John Meijer
action filter_type
action find
entity John Meijer
relation instrument
type musical instrument
['Meijer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:John_Meijer property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q16876776,P1303,c(Q34379))
action filter_type
action find
entity Q2051181
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q16876776', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q2051181 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
violin
That person can perform a violin
violin
action filter_type
action find
entity John Meijer
relation instrument
type musical instrument
['Meijer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:John_Meijer property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2051181
P361
Q2088357
USER
What is John Meijer a portion of ?
(Q2051181,P361,c(Q2088357))
action filter_type
action find
entity Q2051181
relation P361
type Q2088357
['Q2051181', 'P361', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q2051181 property:P361 ?y . ?y rdf:type ontology:Q2088357 }
John Meijer
action filter_type
action find
entity John Meijer
relation part of
type musical ensemble
['John Meijer', 'part of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:John_Meijer property:part_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q797247
SYSTEM
BZN
Q797247
(Q2051181,P361,c(Q2088357))
action filter_type
action find
entity Q2051181
relation P361
type Q2088357
[ANSWER] is John Meijer a portion of
['Q2051181', 'P361', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q2051181 property:P361 ?y . ?y rdf:type ontology:Q2088357 }
BZN
BZN is John Meijer a portion of
BZN
action filter_type
action find
entity John Meijer
relation part of
type musical ensemble
['John Meijer', 'part of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:John_Meijer property:part_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2051181
P106
Q12737077
USER
What does John Meijer do for a living ?
(Q2051181,P106,c(Q12737077))
action filter_type
action find
entity Q2051181
relation P106
type Q12737077
['Q2051181', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2051181 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
John Meijer
action filter_type
action find
entity John Meijer
relation occupation
type occupation
['John Meijer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_Meijer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q14466416
SYSTEM
copywriter
Q14466416
(Q2051181,P106,c(Q12737077))
action filter_type
action find
entity Q2051181
relation P106
type Q12737077
John Meijer does for a living as [ANSWER]
['Q2051181', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2051181 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
copywriter
John Meijer does for a living as copywriter
copywriter
action filter_type
action find
entity John Meijer
relation occupation
type occupation
['John Meijer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_Meijer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2051181
Q151885
USER
And which concept?
(Q2051181,P106,c(Q151885))
action filter_type
action find
entity Q2051181
relation P106
type Q151885
['Q2051181', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q2051181 property:P106 ?w . ?w rdf:type ontology:Q151885 }
John Meijer
action filter_type
action find
entity John Meijer
relation occupation
type concept
['John Meijer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:John_Meijer property:occupation ?w . ?w rdf:type ontology:concept }
[]
concept
Q855091
SYSTEM
guitarist
Q855091
(Q2051181,P106,c(Q151885))
action filter_type
action find
entity Q2051181
relation P106
type Q151885
[ANSWER]
['Q2051181', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q2051181 property:P106 ?w . ?w rdf:type ontology:Q151885 }
guitarist
guitarist
action filter_type
action find
entity John Meijer
relation occupation
type concept
['John Meijer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:John_Meijer property:occupation ?w . ?w rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q151885 Q43229 Q502895
USER
How many concepts are the area of around the same number of organizations and people as that concept ?
(c(Q43229)|c(Q502895),P101,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q855091
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?o WHERE { { ?t property:P101 ?o . ?t rdf:type ontology:Q43229 . ?o rdf:type ontology:Q151885 } UNION { ?t property:P101 ?o . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q151885 } } GROUP BY ?o } . FILTER ( ?z = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P101 resource:Q855091 . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action count
action filter_multi_types
action find_reverse
entity guitarist
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?o WHERE { { ?t property:field_of_work ?o . ?t rdf:type ontology:organization . ?o rdf:type ontology:concept } UNION { ?t property:field_of_work ?o . ?t rdf:type ontology:common_name . ?o rdf:type ontology:concept } } GROUP BY ?o } . FILTER ( ?z = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:field_of_work resource:guitarist . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:common_name ) } } } } }
[]
concept organization common name
SYSTEM
67
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q43343 Q212944 Q177923 Q333018 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q1516975 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q309252 Q11401 Q3242115
(c(Q43229)|c(Q502895),P101,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q855091
relation P101
type Q43229
type Q502895
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?o WHERE { { ?t property:P101 ?o . ?t rdf:type ontology:Q43229 . ?o rdf:type ontology:Q151885 } UNION { ?t property:P101 ?o . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q151885 } } GROUP BY ?o } . FILTER ( ?z = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P101 resource:Q855091 . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class contemporary folk music klezmer auction Common descent History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory maritime history trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory physical fitness hip hop revolutionary
67
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action count
action filter_multi_types
action find_reverse
entity guitarist
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?o WHERE { { ?t property:field_of_work ?o . ?t rdf:type ontology:organization . ?o rdf:type ontology:concept } UNION { ?t property:field_of_work ?o . ?t rdf:type ontology:common_name . ?o rdf:type ontology:concept } } GROUP BY ?o } . FILTER ( ?z = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:field_of_work resource:guitarist . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:common_name ) } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19977049 Q2051181
P27
Q15617994
USER
Which administrative territories are John Meijer or Jacob Mühlrad a civilian of ?
OR((Q2051181,P27,c(Q15617994)), (Q19977049,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2051181
relation P27
action find
entity Q19977049
relation P27
type Q15617994
{'OR': [['Q2051181', 'P27', {'concept': 'Q15617994'}], ['Q19977049', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( resource:Q2051181 ) ( resource:Q19977049 ) } . ?b property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Jacob Mühlrad John Meijer
action filter_type
action union
action find
entity John Meijer
relation country of citizenship
action find
entity Jacob Mühlrad
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Meijer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jacob Mühlrad', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( resource:John_Meijer ) ( resource:Jacob_Mühlrad ) } . ?b property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q34
SYSTEM
Kingdom of the Netherlands, Sweden
Q29999 Q34
OR((Q2051181,P27,c(Q15617994)), (Q19977049,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2051181
relation P27
action find
entity Q19977049
relation P27
type Q15617994
[ANSWERS] are John Meijer or Jacob Mühlrad a civilian of
{'OR': [['Q2051181', 'P27', {'concept': 'Q15617994'}], ['Q19977049', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( resource:Q2051181 ) ( resource:Q19977049 ) } . ?b property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Sweden
Kingdom of the Netherlands and Sweden are John Meijer or Jacob Mühlrad a civilian of
Kingdom of the Netherlands Sweden
action filter_type
action union
action find
entity John Meijer
relation country of citizenship
action find
entity Jacob Mühlrad
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Meijer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jacob Mühlrad', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( resource:John_Meijer ) ( resource:Jacob_Mühlrad ) } . ?b property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q838948 Q811979
USER
Which people are atleast 2 works of art or architectural structures dedicated to ?
(c(Q838948)|c(Q811979),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 2
[[{'concept': 'Q838948'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:P825 ?w . ?w rdf:type ontology:Q502895 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P825 ?w . ?s rdf:type ontology:Q811979 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?y >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type work of art
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 2
[[{'concept': 'work of art'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:dedicated_to ?w . ?w rdf:type ontology:common_name . ?s rdf:type ontology:work_of_art } UNION { ?s property:dedicated_to ?w . ?s rdf:type ontology:architectural_structure . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?y >= 2 ) }
[]
common name work of art architectural structure
Q7327 Q539 Q1394
SYSTEM
Yuri Gagarin, Giuseppe Diego Garibaldi Pacheco, Vladimir Lenin
Q534049 Q43999 Q1394 Q22985873 Q539 Q7327 Q727717 Q35149
(c(Q838948)|c(Q811979),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 2
[ANSWERS] are atleast 2 works of art or architectural structures dedicated to
[[{'concept': 'Q838948'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:P825 ?w . ?w rdf:type ontology:Q502895 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P825 ?w . ?s rdf:type ontology:Q811979 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?y >= 2 ) }
Saint Petroc James Vladimir Lenin Elizabeth Jean Scott Giuseppe Diego Garibaldi Pacheco Yuri Gagarin Ramón Pérez de Ayala Wilhelm Röntgen
Yuri Gagarin, Giuseppe Diego Garibaldi Pacheco and Vladimir Lenin are atleast 2 works of art or architectural structures dedicated to
Yuri Gagarin Giuseppe Diego Garibaldi Pacheco Vladimir Lenin
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type work of art
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 2
[[{'concept': 'work of art'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:dedicated_to ?w . ?w rdf:type ontology:common_name . ?s rdf:type ontology:work_of_art } UNION { ?s property:dedicated_to ?w . ?s rdf:type ontology:architectural_structure . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?y >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7792890 Q2051181
P27
Q15617994
USER
Which administrative territories do John Meijer or Thomas Oosthuizen belong to ?
OR((Q2051181,P27,c(Q15617994)), (Q7792890,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2051181
relation P27
action find
entity Q7792890
relation P27
type Q15617994
{'OR': [['Q2051181', 'P27', {'concept': 'Q15617994'}], ['Q7792890', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2051181 property:P27 ?l } UNION { resource:Q7792890 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Thomas Oosthuizen John Meijer
action filter_type
action union
action find
entity John Meijer
relation country of citizenship
action find
entity Thomas Oosthuizen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Meijer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thomas Oosthuizen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Meijer property:country_of_citizenship ?l } UNION { resource:Thomas_Oosthuizen property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q258
SYSTEM
Kingdom of the Netherlands, South Africa
Q29999 Q258
OR((Q2051181,P27,c(Q15617994)), (Q7792890,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2051181
relation P27
action find
entity Q7792890
relation P27
type Q15617994
John Meijer or Thomas Oosthuizen belong to the [ANSWERS]
{'OR': [['Q2051181', 'P27', {'concept': 'Q15617994'}], ['Q7792890', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2051181 property:P27 ?l } UNION { resource:Q7792890 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Kingdom of the Netherlands South Africa
John Meijer or Thomas Oosthuizen belong to the Kingdom of the Netherlands and South Africa
Kingdom of the Netherlands South Africa
action filter_type
action union
action find
entity John Meijer
relation country of citizenship
action find
entity Thomas Oosthuizen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Meijer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thomas Oosthuizen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Meijer property:country_of_citizenship ?l } UNION { resource:Thomas_Oosthuizen property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16944188
P27
Q502895
USER
Are Charles Nisbet a native of those administrative territories ?
(Q16944188,P27,Q29999) (Q16944188,P27,Q258)
action is_in
entity prev_answer
action find
entity Q16944188
relation P27
['Q16944188', 'P27', 'Q29999'] ['Q16944188', 'P27', 'Q258']
ASK WHERE { VALUES ( ?w ) { ( resource:Q29999 ) ( resource:Q258 ) } . resource:Q16944188 property:P27 ?w }
Charles Nisbet
action is_in
entity prev_answer
action find
entity Charles Nisbet
relation country of citizenship
['Charles Nisbet', 'country of citizenship', 'Kingdom of the Netherlands'] ['Charles Nisbet', 'country of citizenship', 'South Africa']
ASK WHERE { VALUES ( ?w ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:South_Africa ) } . resource:Charles_Nisbet property:country_of_citizenship ?w }
[]
common name
SYSTEM
NO
(Q16944188,P27,Q29999) (Q16944188,P27,Q258)
action is_in
entity prev_answer
action find
entity Q16944188
relation P27
[ANSWER]
['Q16944188', 'P27', 'Q29999'] ['Q16944188', 'P27', 'Q258']
ASK WHERE { VALUES ( ?w ) { ( resource:Q29999 ) ( resource:Q258 ) } . resource:Q16944188 property:P27 ?w }
No
action is_in
entity prev_answer
action find
entity Charles Nisbet
relation country of citizenship
['Charles Nisbet', 'country of citizenship', 'Kingdom of the Netherlands'] ['Charles Nisbet', 'country of citizenship', 'South Africa']
ASK WHERE { VALUES ( ?w ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:South_Africa ) } . resource:Charles_Nisbet property:country_of_citizenship ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q258
P36
Q56061
USER
Which administrative territories are called the capital of South Africa ?
(Q258,P36,c(Q56061))
action filter_type
action find
entity Q258
relation P36
type Q56061
['Q258', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q258 property:P36 ?h . ?h rdf:type ontology:Q56061 }
South Africa
action filter_type
action find
entity South Africa
relation capital
type administrative territorial entity
['South Africa', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:South_Africa property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5465 Q37701
SYSTEM
Cape Town, Bloemfontein
Q5465 Q37701
(Q258,P36,c(Q56061))
action filter_type
action find
entity Q258
relation P36
type Q56061
[ANSWERS] are called the capital of South Africa
['Q258', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q258 property:P36 ?h . ?h rdf:type ontology:Q56061 }
Cape Town Bloemfontein
Cape Town and Bloemfontein are called the capital of South Africa
Cape Town Bloemfontein
action filter_type
action find
entity South Africa
relation capital
type administrative territorial entity
['South Africa', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:South_Africa property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]