Simple Question (Direct)
Simple Question
Q4959164
P57
Q502895
USER
Who directed Bread and Roses ?
(Q4959164,P57,c(Q502895))
action filter_type
action find
entity Q4959164
relation P57
type Q502895
['Q4959164', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4959164 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Bread and Roses
action filter_type
action find
entity Bread and Roses
relation director
type common name
['Bread and Roses', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bread_and_Roses property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1106427 Q1106411
SYSTEM
Horst E. Brandt, Heinz Thiel
Q1106427 Q1106411
(Q4959164,P57,c(Q502895))
action filter_type
action find
entity Q4959164
relation P57
type Q502895
[ANSWERS] directed Bread and Roses
['Q4959164', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4959164 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Horst E. Brandt Heinz Thiel
Horst E. Brandt and Heinz Thiel directed Bread and Roses
Horst E. Brandt Heinz Thiel
action filter_type
action find
entity Bread and Roses
relation director
type common name
['Bread and Roses', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bread_and_Roses property:director ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1106427
P20
Q515
USER
Where did Horst E. Brandt die ?
(Q1106427,P20,c(Q515))
action filter_type
action find
entity Q1106427
relation P20
type Q515
['Q1106427', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q1106427 property:P20 ?v . ?v rdf:type ontology:Q515 }
Horst E. Brandt
action filter_type
action find
entity Horst E. Brandt
relation place of death
type city
['Horst E. Brandt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Horst_E._Brandt property:place_of_death ?v . ?v rdf:type ontology:city }
[]
city
Q1711
SYSTEM
Potsdam
Q1711
(Q1106427,P20,c(Q515))
action filter_type
action find
entity Q1106427
relation P20
type Q515
Horst E. Brandt died in [ANSWER]
['Q1106427', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q1106427 property:P20 ?v . ?v rdf:type ontology:Q515 }
Potsdam
Horst E. Brandt died in Potsdam
Potsdam
action filter_type
action find
entity Horst E. Brandt
relation place of death
type city
['Horst E. Brandt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Horst_E._Brandt property:place_of_death ?v . ?v rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1106427
P106
Q12737077
USER
What is the profession of that person ?
(Q1711,P106,c(Q12737077))
action filter_type
action find
entity Q1106427
relation P106
type Q12737077
['Q1711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1106427 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Horst E. Brandt
action filter_type
action find
entity Horst E. Brandt
relation occupation
type occupation
['Potsdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Horst_E._Brandt property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q2059704
SYSTEM
television director
Q2059704
(Q1711,P106,c(Q12737077))
action filter_type
action find
entity Q1106427
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q1711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1106427 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
television director
The profession of that person is a television director
television director
action filter_type
action find
entity Horst E. Brandt
relation occupation
type occupation
['Potsdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Horst_E._Brandt property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q640916 Q1106427
P106
Q12737077
USER
Or Gianni Clerici?
OR((Q1106427,P106,c(Q12737077)), (Q640916,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1106427
relation P106
action find
entity Q640916
relation P106
type Q12737077
{'OR': [['Q1106427', 'P106', {'concept': 'Q12737077'}], ['Q640916', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1106427 property:P106 ?s } UNION { resource:Q640916 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
Gianni Clerici Horst E. Brandt
action filter_type
action union
action find
entity Horst E. Brandt
relation occupation
action find
entity Gianni Clerici
relation occupation
type occupation
{'OR': [['Horst E. Brandt', 'occupation', {'concept': 'occupation'}], ['Gianni Clerici', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Horst_E._Brandt property:occupation ?s } UNION { resource:Gianni_Clerici property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q1930187 Q10833314 Q2059704 Q36180
SYSTEM
journalist, tennis player, television director, writer
Q1930187 Q10833314 Q2059704 Q36180
OR((Q1106427,P106,c(Q12737077)), (Q640916,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1106427
relation P106
action find
entity Q640916
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q1106427', 'P106', {'concept': 'Q12737077'}], ['Q640916', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1106427 property:P106 ?s } UNION { resource:Q640916 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
journalist tennis player television director writer
journalist tennis player television director writer
action filter_type
action union
action find
entity Horst E. Brandt
relation occupation
action find
entity Gianni Clerici
relation occupation
type occupation
{'OR': [['Horst E. Brandt', 'occupation', {'concept': 'occupation'}], ['Gianni Clerici', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Horst_E._Brandt property:occupation ?s } UNION { resource:Gianni_Clerici property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1711
P47
Q1048835
USER
How many political territories share border with Potsdam ?
(Q1711,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1711
relation P47
type Q1048835
['Q1711', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q1711 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Potsdam
action count
action filter_type
action find
entity Potsdam
relation shares border with
type political territorial entity
['Potsdam', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Potsdam property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q6142 Q6139
(Q1711,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1711
relation P47
type Q1048835
[ANSWER]
['Q1711', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q1711 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Potsdam-Mittelmark Havelland
2
action count
action filter_type
action find
entity Potsdam
relation shares border with
type political territorial entity
['Potsdam', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Potsdam property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1228003
Q1048835
USER
And what about Kortezubi?
(Q1228003,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1228003
relation P47
type Q1048835
['Q1228003', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q1228003 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Kortezubi
action count
action filter_type
action find
entity Kortezubi
relation shares border with
type political territorial entity
['Kortezubi', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Kortezubi property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
(Q1228003,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1228003
relation P47
type Q1048835
[ANSWER]
['Q1228003', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q1228003 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
6
action count
action filter_type
action find
entity Kortezubi
relation shares border with
type political territorial entity
['Kortezubi', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Kortezubi property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q943089 Q10833314
P425 P641
Q349
USER
Which sports are associated with the field of occupation tennis player and did 1971 Australian Open – Men's Singles participate in ?
AND((Q10833314,P425,c(Q349)), (Q943089,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q10833314
relation P425
action find
entity Q943089
relation P641
type Q349
{'AND': [['Q10833314', 'P425', {'concept': 'Q349'}], ['Q943089', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { resource:Q10833314 property:P425 ?o . resource:Q943089 property:P641 ?o . ?o rdf:type ontology:Q349 }
1971 Australian Open – Men's Singles tennis player
action filter_type
action intersection
action find
entity tennis player
relation field of this occupation
action find
entity 1971 Australian Open – Men's Singles
relation sport
type sport
{'AND': [['tennis player', 'field of this occupation', {'concept': 'sport'}], ["1971 Australian Open – Men's Singles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { resource:tennis_player property:field_of_this_occupation ?o . resource:1971_Australian_Open_–_Men's_Singles property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
AND((Q10833314,P425,c(Q349)), (Q943089,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q10833314
relation P425
action find
entity Q943089
relation P641
type Q349
[ANSWER] is associated with the field of occupation [ANSWER] player and did 1971 Australian Open – Men's Singles participate in
{'AND': [['Q10833314', 'P425', {'concept': 'Q349'}], ['Q943089', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { resource:Q10833314 property:P425 ?o . resource:Q943089 property:P641 ?o . ?o rdf:type ontology:Q349 }
tennis
Tennis is associated with the field of occupation tennis player and did 1971 Australian Open – Men's Singles participate in
tennis
action filter_type
action intersection
action find
entity tennis player
relation field of this occupation
action find
entity 1971 Australian Open – Men's Singles
relation sport
type sport
{'AND': [['tennis player', 'field of this occupation', {'concept': 'sport'}], ["1971 Australian Open – Men's Singles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { resource:tennis_player property:field_of_this_occupation ?o . resource:1971_Australian_Open_–_Men's_Singles property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20155508
Q166142
USER
And also tell me about Touken Ranbu?
(Q20155508,P136,c(Q166142))
action filter_type
action find
entity Q20155508
relation P136
type Q166142
['Q20155508', 'P136', {'concept': 'Q166142'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q166142 . resource:Q20155508 property:P136 ?h }
Touken Ranbu
action filter_type
action find
entity Touken Ranbu
relation genre
type application
['Touken Ranbu', 'genre', {'concept': 'application'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:application . resource:Touken_Ranbu property:genre ?h }
[]
application
Q848991
SYSTEM
browser game
Q848991
(Q20155508,P136,c(Q166142))
action filter_type
action find
entity Q20155508
relation P136
type Q166142
[ANSWER]
['Q20155508', 'P136', {'concept': 'Q166142'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q166142 . resource:Q20155508 property:P136 ?h }
browser game
browser game
action filter_type
action find
entity Touken Ranbu
relation genre
type application
['Touken Ranbu', 'genre', {'concept': 'application'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:application . resource:Touken_Ranbu property:genre ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20155508
P400
Q7397
USER
Which software is the specific platform for which Touken Ranbu was released ?
(Q20155508,P400,c(Q7397))
action filter_type
action find
entity Q20155508
relation P400
type Q7397
['Q20155508', 'P400', {'concept': 'Q7397'}]
SELECT DISTINCT ?g WHERE { resource:Q20155508 property:P400 ?g . ?g rdf:type ontology:Q7397 }
Touken Ranbu
action filter_type
action find
entity Touken Ranbu
relation platform
type software
['Touken Ranbu', 'platform', {'concept': 'software'}]
SELECT DISTINCT ?g WHERE { resource:Touken_Ranbu property:platform ?g . ?g rdf:type ontology:software }
[]
software
Q165658
SYSTEM
Adobe Flash
Q165658
(Q20155508,P400,c(Q7397))
action filter_type
action find
entity Q20155508
relation P400
type Q7397
[ANSWER] is the specific platform for which Touken Ranbu was released
['Q20155508', 'P400', {'concept': 'Q7397'}]
SELECT DISTINCT ?g WHERE { resource:Q20155508 property:P400 ?g . ?g rdf:type ontology:Q7397 }
Adobe Flash
Adobe Flash is the specific platform for which Touken Ranbu was released
Adobe Flash
action filter_type
action find
entity Touken Ranbu
relation platform
type software
['Touken Ranbu', 'platform', {'concept': 'software'}]
SELECT DISTINCT ?g WHERE { resource:Touken_Ranbu property:platform ?g . ?g rdf:type ontology:software }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q165658 Q2407
P277
Q629206
USER
Is C++ used to create that software ?
(Q165658,P277,Q2407)
action is_in
entity Q2407
action find
entity Q165658
relation P277
['Q165658', 'P277', 'Q2407']
ASK WHERE { resource:Q165658 property:P277 resource:Q2407 }
Adobe Flash C++
action is_in
entity C++
action find
entity Adobe Flash
relation programming language
['Adobe Flash', 'programming language', 'C++']
ASK WHERE { resource:Adobe_Flash property:programming_language resource:C++ }
[]
computer language
SYSTEM
YES
(Q165658,P277,Q2407)
action is_in
entity Q2407
action find
entity Q165658
relation P277
[ANSWER]
['Q165658', 'P277', 'Q2407']
ASK WHERE { resource:Q165658 property:P277 resource:Q2407 }
Yes
action is_in
entity C++
action find
entity Adobe Flash
relation programming language
['Adobe Flash', 'programming language', 'C++']
ASK WHERE { resource:Adobe_Flash property:programming_language resource:C++ }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10833314 Q18205276
P641
Q349
USER
Was tennis player a part of Ante Over ?
(Q10833314,P641,Q18205276)
action is_in
entity Q18205276
action find
entity Q10833314
relation P641
['Q10833314', 'P641', 'Q18205276']
ASK WHERE { resource:Q10833314 property:P641 resource:Q18205276 }
tennis player Ante Over
action is_in
entity Ante Over
action find
entity tennis player
relation sport
['tennis player', 'sport', 'Ante Over']
ASK WHERE { resource:tennis_player property:sport resource:Ante_Over }
[]
sport
SYSTEM
NO
(Q10833314,P641,Q18205276)
action is_in
entity Q18205276
action find
entity Q10833314
relation P641
[ANSWER]
['Q10833314', 'P641', 'Q18205276']
ASK WHERE { resource:Q10833314 property:P641 resource:Q18205276 }
No
action is_in
entity Ante Over
action find
entity tennis player
relation sport
['tennis player', 'sport', 'Ante Over']
ASK WHERE { resource:tennis_player property:sport resource:Ante_Over }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P306
Q7397 Q1668024
USER
Which services on internet are managed by approximately 2 software as the operating system ?
(c(Q1668024),P306,c(Q7397))
action approx
action find_tuple_counts
relation P306
type Q1668024
type Q7397
value 2
[{'concept': 'Q1668024'}, 'P306', {'concept': 'Q7397'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?z ) WHERE { ?k property:P306 ?o . ?k rdf:type ontology:Q1668024 . ?o rdf:type ontology:Q7397 } GROUP BY ?k } }
action approx
action find_tuple_counts
relation operating system
type service on internet
type software
value 2
[{'concept': 'service on internet'}, 'operating system', {'concept': 'software'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?z ) WHERE { ?k property:operating_system ?o . ?k rdf:type ontology:service_on_internet . ?o rdf:type ontology:software } GROUP BY ?k } }
[]
software service on internet
Q40984 Q26762848 Q58058
SYSTEM
Skype, PyBitMessage, Adium
Q332707 Q58058 Q40984 Q26762848
(c(Q1668024),P306,c(Q7397))
action approx
action find_tuple_counts
relation P306
type Q1668024
type Q7397
value 2
[ANSWERS] are managed by approximately 2 software as the operating system
[{'concept': 'Q1668024'}, 'P306', {'concept': 'Q7397'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?z ) WHERE { ?k property:P306 ?o . ?k rdf:type ontology:Q1668024 . ?o rdf:type ontology:Q7397 } GROUP BY ?k } }
Viber Adium Skype PyBitMessage
Skype, PyBitMessage and Adium are managed by approximately 2 software as the operating system
Skype PyBitMessage Adium
action approx
action find_tuple_counts
relation operating system
type service on internet
type software
value 2
[{'concept': 'service on internet'}, 'operating system', {'concept': 'software'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?z ) WHERE { ?k property:operating_system ?o . ?k rdf:type ontology:service_on_internet . ?o rdf:type ontology:software } GROUP BY ?k } }
[]