Simple Question (Direct)
Simple Question
Q1450193
P512
Q3412758
USER
Which qualification does Harald Seubert hold ?
(Q1450193,P512,c(Q3412758))
action filter_type
action find
entity Q1450193
relation P512
type Q3412758
['Q1450193', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1450193 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
Harald Seubert
action filter_type
action find
entity Harald Seubert
relation academic degree
type qualification
['Harald Seubert', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Harald_Seubert property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1450193,P512,c(Q3412758))
action filter_type
action find
entity Q1450193
relation P512
type Q3412758
Harald Seubert holds a [ANSWER]
['Q1450193', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1450193 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
doctoral degree
Harald Seubert holds a doctoral degree
doctoral degree
action filter_type
action find
entity Harald Seubert
relation academic degree
type qualification
['Harald Seubert', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Harald_Seubert property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P828
Q8434
USER
Which education is the cause of that qualification ?
(Q849697,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
['Q849697', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?l WHERE { resource:Q849697 property:P828 ?l . ?l rdf:type ontology:Q8434 }
doctoral degree
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctoral degree', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?l WHERE { resource:doctoral_degree property:has_cause ?l . ?l rdf:type ontology:education }
[]
education
Q2095243
SYSTEM
doctorate
Q2095243
(Q849697,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
[ANSWER] is the cause of that qualification
['Q849697', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?l WHERE { resource:Q849697 property:P828 ?l . ?l rdf:type ontology:Q8434 }
doctorate
Doctorate is the cause of that qualification
doctorate
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctoral degree', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?l WHERE { resource:doctoral_degree property:has_cause ?l . ?l rdf:type ontology:education }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q15961987 Q502895
USER
How many people are present in around 2 collectables or television genres ?
(c(Q502895),P1441,c(Q2342494)|c(Q15961987))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
value 2
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?f rdf:type ?u } GROUP BY ?j } . FILTER ( ?q = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?f rdf:type ?u } GROUP BY ?j } . FILTER ( ?q = 2 ) }
[]
collectable television genre common name
SYSTEM
1
Q37085
(c(Q502895),P1441,c(Q2342494)|c(Q15961987))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?f rdf:type ?u } GROUP BY ?j } . FILTER ( ?q = 2 ) }
Solomon
1
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?f rdf:type ?u } GROUP BY ?j } . FILTER ( ?q = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2095243
P1542
Q3412758
USER
What is the effect of doctorate ?
(Q2095243,P1542,c(Q3412758))
action filter_type
action find
entity Q2095243
relation P1542
type Q3412758
['Q2095243', 'P1542', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { resource:Q2095243 property:P1542 ?l . ?l rdf:type ontology:Q3412758 }
doctorate
action filter_type
action find
entity doctorate
relation cause of
type qualification
['doctorate', 'cause of', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { resource:doctorate property:cause_of ?l . ?l rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q2095243,P1542,c(Q3412758))
action filter_type
action find
entity Q2095243
relation P1542
type Q3412758
The effect of doctorate is [ANSWER]
['Q2095243', 'P1542', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { resource:Q2095243 property:P1542 ?l . ?l rdf:type ontology:Q3412758 }
doctoral degree
The effect of doctorate is doctoral degree
doctoral degree
action filter_type
action find
entity doctorate
relation cause of
type qualification
['doctorate', 'cause of', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { resource:doctorate property:cause_of ?l . ?l rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1450193
P27
Q1048835
USER
Which political territory is the native country of Harald Seubert ?
(Q1450193,P27,c(Q1048835))
action filter_type
action find
entity Q1450193
relation P27
type Q1048835
['Q1450193', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1450193 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Harald Seubert
action filter_type
action find
entity Harald Seubert
relation country of citizenship
type political territorial entity
['Harald Seubert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Harald_Seubert property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1450193,P27,c(Q1048835))
action filter_type
action find
entity Q1450193
relation P27
type Q1048835
The [ANSWER] is the native country of Harald Seubert
['Q1450193', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1450193 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Harald Seubert
Germany
action filter_type
action find
entity Harald Seubert
relation country of citizenship
type political territorial entity
['Harald Seubert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Harald_Seubert property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5181567
Q1048835
USER
And also tell me about Craig Wallace?
(Q5181567,P27,c(Q1048835))
action filter_type
action find
entity Q5181567
relation P27
type Q1048835
['Q5181567', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q5181567 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Craig Wallace
action filter_type
action find
entity Craig Wallace
relation country of citizenship
type political territorial entity
['Craig Wallace', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Craig_Wallace property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q5181567,P27,c(Q1048835))
action filter_type
action find
entity Q5181567
relation P27
type Q1048835
[ANSWER]
['Q5181567', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q5181567 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Craig Wallace
relation country of citizenship
type political territorial entity
['Craig Wallace', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Craig_Wallace property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17640633 Q1450193
P19
Q56061
USER
Which administrative territories were Harald Seubert or Jackson Williams born in ?
OR((Q1450193,P19,c(Q56061)), (Q17640633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1450193
relation P19
action find
entity Q17640633
relation P19
type Q56061
{'OR': [['Q1450193', 'P19', {'concept': 'Q56061'}], ['Q17640633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1450193 property:P19 ?a } UNION { resource:Q17640633 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Jackson Williams Harald Seubert
action filter_type
action union
action find
entity Harald Seubert
relation place of birth
action find
entity Jackson Williams
relation place of birth
type administrative territorial entity
{'OR': [['Harald Seubert', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jackson Williams', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Harald_Seubert property:place_of_birth ?a } UNION { resource:Jackson_Williams property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2090 Q44989
SYSTEM
Nuremberg, Tulsa
Q2090 Q44989
OR((Q1450193,P19,c(Q56061)), (Q17640633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1450193
relation P19
action find
entity Q17640633
relation P19
type Q56061
Harald Seubert or Jackson Williams were born in [ANSWERS]
{'OR': [['Q1450193', 'P19', {'concept': 'Q56061'}], ['Q17640633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1450193 property:P19 ?a } UNION { resource:Q17640633 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Nuremberg Tulsa
Harald Seubert or Jackson Williams were born in Nuremberg and Tulsa
Nuremberg Tulsa
action filter_type
action union
action find
entity Harald Seubert
relation place of birth
action find
entity Jackson Williams
relation place of birth
type administrative territorial entity
{'OR': [['Harald Seubert', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jackson Williams', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Harald_Seubert property:place_of_birth ?a } UNION { resource:Jackson_Williams property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]