Simple Question (Direct)
Simple Question
Q1874085
P106
Q151885
USER
Which concept has Ludvík Kundera as his/her 's career ?
(Q1874085,P106,c(Q151885))
action filter_type
action find
entity Q1874085
relation P106
type Q151885
['Q1874085', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1874085 property:P106 ?w . ?w rdf:type ontology:Q151885 }
Ludvík Kundera
action filter_type
action find
entity Ludvík Kundera
relation occupation
type concept
['Ludvík Kundera', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Ludvík_Kundera property:occupation ?w . ?w rdf:type ontology:concept }
[]
concept
Q214917
SYSTEM
playwright
Q214917
(Q1874085,P106,c(Q151885))
action filter_type
action find
entity Q1874085
relation P106
type Q151885
The [ANSWER] has Ludvík Kundera as his/her 's career
['Q1874085', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1874085 property:P106 ?w . ?w rdf:type ontology:Q151885 }
playwright
The playwright has Ludvík Kundera as his/her 's career
playwright
action filter_type
action find
entity Ludvík Kundera
relation occupation
type concept
['Ludvík Kundera', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Ludvík_Kundera property:occupation ?w . ?w rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1874085
P735
Q82799
USER
What the name that Ludvík Kundera is known by ?
(Q1874085,P735,c(Q82799))
action filter_type
action find
entity Q1874085
relation P735
type Q82799
['Q1874085', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1874085 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Ludvík Kundera
action filter_type
action find
entity Ludvík Kundera
relation given name
type name
['Ludvík Kundera', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Ludvík_Kundera property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q6699136
SYSTEM
Ludvík
Q6699136
(Q1874085,P735,c(Q82799))
action filter_type
action find
entity Q1874085
relation P735
type Q82799
Known 1 [ANSWER]
['Q1874085', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1874085 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Ludvík
Known 1 Ludvík
Ludvík
action filter_type
action find
entity Ludvík Kundera
relation given name
type name
['Ludvík Kundera', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Ludvík_Kundera property:given_name ?j . ?j rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6699136 Q9056
P407
Q34770
USER
Is that name in Czech ?
(Q6699136,P407,Q9056)
action is_in
entity Q9056
action find
entity Q6699136
relation P407
['Q6699136', 'P407', 'Q9056']
ASK WHERE { resource:Q6699136 property:P407 resource:Q9056 }
Ludvík Czech
action is_in
entity Czech
action find
entity Ludvík
relation language of work or name
['Ludvík', 'language of work or name', 'Czech']
ASK WHERE { resource:Ludvík property:language_of_work_or_name resource:Czech }
[]
language
SYSTEM
YES
(Q6699136,P407,Q9056)
action is_in
entity Q9056
action find
entity Q6699136
relation P407
[ANSWER]
['Q6699136', 'P407', 'Q9056']
ASK WHERE { resource:Q6699136 property:P407 resource:Q9056 }
Yes
action is_in
entity Czech
action find
entity Ludvík
relation language of work or name
['Ludvík', 'language of work or name', 'Czech']
ASK WHERE { resource:Ludvík property:language_of_work_or_name resource:Czech }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1874085 Q26701213 Q2306431
P106
Q12737077
USER
Does Ludvík Kundera have mayor of Alpedrete and White House Press Secretary as his/her means of employment ?
(Q1874085,P106,Q26701213) (Q1874085,P106,Q2306431)
action is_in
entity Q1874085
action intersection
action find_reverse
entity Q26701213
relation P106
action find_reverse
entity Q2306431
relation P106
['Q1874085', 'P106', 'Q26701213'] ['Q1874085', 'P106', 'Q2306431']
ASK WHERE { resource:Q1874085 property:P106 resource:Q26701213 . resource:Q1874085 property:P106 resource:Q2306431 }
Ludvík Kundera mayor of Alpedrete White House Press Secretary
action is_in
entity Ludvík Kundera
action intersection
action find_reverse
entity mayor of Alpedrete
relation occupation
action find_reverse
entity White House Press Secretary
relation occupation
['Ludvík Kundera', 'occupation', 'mayor of Alpedrete'] ['Ludvík Kundera', 'occupation', 'White House Press Secretary']
ASK WHERE { resource:Ludvík_Kundera property:occupation resource:mayor_of_Alpedrete . resource:Ludvík_Kundera property:occupation resource:White_House_Press_Secretary }
[]
occupation
SYSTEM
NO
(Q1874085,P106,Q26701213) (Q1874085,P106,Q2306431)
action is_in
entity Q1874085
action intersection
action find_reverse
entity Q26701213
relation P106
action find_reverse
entity Q2306431
relation P106
[ANSWER]
['Q1874085', 'P106', 'Q26701213'] ['Q1874085', 'P106', 'Q2306431']
ASK WHERE { resource:Q1874085 property:P106 resource:Q26701213 . resource:Q1874085 property:P106 resource:Q2306431 }
No
action is_in
entity Ludvík Kundera
action intersection
action find_reverse
entity mayor of Alpedrete
relation occupation
action find_reverse
entity White House Press Secretary
relation occupation
['Ludvík Kundera', 'occupation', 'mayor of Alpedrete'] ['Ludvík Kundera', 'occupation', 'White House Press Secretary']
ASK WHERE { resource:Ludvík_Kundera property:occupation resource:mayor_of_Alpedrete . resource:Ludvík_Kundera property:occupation resource:White_House_Press_Secretary }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17653490 Q6699136
P407
Q34770
USER
Which languages are the languages of work for Ludvík or Liberal Leadership Candidate Bob Rae warns about reopening Constitution ?
OR((Q6699136,P407,c(Q34770)), (Q17653490,P407,c(Q34770)))
action filter_type
action union
action find
entity Q6699136
relation P407
action find
entity Q17653490
relation P407
type Q34770
{'OR': [['Q6699136', 'P407', {'concept': 'Q34770'}], ['Q17653490', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Q6699136 ) ( resource:Q17653490 ) } . ?u property:P407 ?x } . ?x rdf:type ontology:Q34770 }
Liberal Leadership Candidate Bob Rae warns about reopening Constitution Ludvík
action filter_type
action union
action find
entity Ludvík
relation language of work or name
action find
entity Liberal Leadership Candidate Bob Rae warns about reopening Constitution
relation language of work or name
type language
{'OR': [['Ludvík', 'language of work or name', {'concept': 'language'}], ['Liberal Leadership Candidate Bob Rae warns about reopening Constitution', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Ludvík ) ( resource:Liberal_Leadership_Candidate_Bob_Rae_warns_about_reopening_Constitution ) } . ?u property:language_of_work_or_name ?x } . ?x rdf:type ontology:language }
[]
language
Q1860 Q9056
SYSTEM
English, Czech
Q1860 Q9056
OR((Q6699136,P407,c(Q34770)), (Q17653490,P407,c(Q34770)))
action filter_type
action union
action find
entity Q6699136
relation P407
action find
entity Q17653490
relation P407
type Q34770
[ANSWERS] are the languages of work for Ludvík or Liberal Leadership Candidate Bob Rae warns about reopening Constitution
{'OR': [['Q6699136', 'P407', {'concept': 'Q34770'}], ['Q17653490', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Q6699136 ) ( resource:Q17653490 ) } . ?u property:P407 ?x } . ?x rdf:type ontology:Q34770 }
English Czech
English and Czech are the languages of work for Ludvík or Liberal Leadership Candidate Bob Rae warns about reopening Constitution
English Czech
action filter_type
action union
action find
entity Ludvík
relation language of work or name
action find
entity Liberal Leadership Candidate Bob Rae warns about reopening Constitution
relation language of work or name
type language
{'OR': [['Ludvík', 'language of work or name', {'concept': 'language'}], ['Liberal Leadership Candidate Bob Rae warns about reopening Constitution', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Ludvík ) ( resource:Liberal_Leadership_Candidate_Bob_Rae_warns_about_reopening_Constitution ) } . ?u property:language_of_work_or_name ?x } . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P2439
Q3320743
USER
Which title of honor has English as the language associated with it ?
(c(Q3320743),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3320743
[{'concept': 'Q3320743'}, 'P2439', 'Q1860']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q3320743 . ?h property:P2439 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation language
type title of honor
[{'concept': 'title of honor'}, 'language', 'English']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:title_of_honor . ?h property:language resource:English }
[]
title of honor
Q5378582
SYSTEM
English honorific
Q5378582
(c(Q3320743),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3320743
In [ANSWER] has English as the language associated with it
[{'concept': 'Q3320743'}, 'P2439', 'Q1860']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q3320743 . ?h property:P2439 resource:Q1860 }
English honorific
In English honorific has English as the language associated with it
English honorific
action filter_type
action find_reverse
entity English
relation language
type title of honor
[{'concept': 'title of honor'}, 'language', 'English']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:title_of_honor . ?h property:language resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9056
P37
Q15617994
USER
Which administrative territory is Czech associated to as the official language ?
(c(Q15617994),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?f WHERE { ?f property:P37 resource:Q9056 . ?f rdf:type ontology:Q15617994 }
Czech
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?f WHERE { ?f property:official_language resource:Czech . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(c(Q15617994),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
Republic [ANSWER] is Czech associated to as the official language
[{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?f WHERE { ?f property:P37 resource:Q9056 . ?f rdf:type ontology:Q15617994 }
Czech Republic
Republic Czech Republic is Czech associated to as the official language
Czech Republic
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?f WHERE { ?f property:official_language resource:Czech . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P47
Q1048835
USER
Which political territories are bordered by that administrative territory ?
(c(Q1048835),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q213']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?y }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?y }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(c(Q1048835),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q1048835
And [ANSWERS] are bordered by that administrative territory
[{'concept': 'Q1048835'}, 'P47', 'Q213']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?y }
Germany Austria
And Germany and Austria are bordered by that administrative territory
Germany Austria
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q2472587 Q82799
USER
How many names are named after atleast 1 human settlements and peoples ?
(c(Q82799),P138,c(Q486972)|c(Q2472587))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q2472587
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q2472587 ) } } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type people
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:people ) } } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
[]
human settlement people name
SYSTEM
2
Q27022433 Q20027829
(c(Q82799),P138,c(Q486972)|c(Q2472587))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q2472587
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q2472587 ) } } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
Danziger Saxon
2
action count
action atleast
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type people
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:people ) } } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188
P180
Q15709879
USER
Which artwork series expresses German ?
(c(Q15709879),P180,Q188)
action filter_type
action find_reverse
entity Q188
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q188']
SELECT DISTINCT ?t WHERE { ?t property:P180 resource:Q188 . ?t rdf:type ontology:Q15709879 }
German
action filter_type
action find_reverse
entity German
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'German']
SELECT DISTINCT ?t WHERE { ?t property:depicts resource:German . ?t rdf:type ontology:artwork_series }
[]
artwork series
Q18325696
SYSTEM
Contact Ad
Q18325696
(c(Q15709879),P180,Q188)
action filter_type
action find_reverse
entity Q188
relation P180
type Q15709879
[ANSWER] expresses German
[{'concept': 'Q15709879'}, 'P180', 'Q188']
SELECT DISTINCT ?t WHERE { ?t property:P180 resource:Q188 . ?t rdf:type ontology:Q15709879 }
Contact Ad
Contact Ad expresses German
Contact Ad
action filter_type
action find_reverse
entity German
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'German']
SELECT DISTINCT ?t WHERE { ?t property:depicts resource:German . ?t rdf:type ontology:artwork_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18325696
P136
Q2198855
USER
What is the genre of that artwork series ?
(Q18325696,P136,c(Q2198855))
action filter_type
action find
entity Q18325696
relation P136
type Q2198855
['Q18325696', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2198855 . resource:Q18325696 property:P136 ?p }
Contact Ad
action filter_type
action find
entity Contact Ad
relation genre
type cultural movement
['Contact Ad', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cultural_movement . resource:Contact_Ad property:genre ?p }
[]
cultural movement
Q186030
SYSTEM
contemporary art
Q186030
(Q18325696,P136,c(Q2198855))
action filter_type
action find
entity Q18325696
relation P136
type Q2198855
The genre of that artwork series is of [ANSWER]
['Q18325696', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2198855 . resource:Q18325696 property:P136 ?p }
contemporary art
The genre of that artwork series is of contemporary art
contemporary art
action filter_type
action find
entity Contact Ad
relation genre
type cultural movement
['Contact Ad', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cultural_movement . resource:Contact_Ad property:genre ?p }
[]