Simple Question (Direct)
Simple Question
Q286570
P136
Q151885
USER
Which concept is the genre for Tia Carrere ?
(Q286570,P136,c(Q151885))
action filter_type
action find
entity Q286570
relation P136
type Q151885
['Q286570', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q286570 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Tia Carrere
action filter_type
action find
entity Tia Carrere
relation genre
type concept
['Tia Carrere', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Tia_Carrere property:genre ?d . ?d rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q286570,P136,c(Q151885))
action filter_type
action find
entity Q286570
relation P136
type Q151885
It [ANSWER] is the genre for Tia Carrere
['Q286570', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q286570 property:P136 ?d . ?d rdf:type ontology:Q151885 }
rock music
It rock music is the genre for Tia Carrere
rock music
action filter_type
action find
entity Tia Carrere
relation genre
type concept
['Tia Carrere', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Tia_Carrere property:genre ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q286570
P21
Q290
USER
What is the sex of Tia Carrere ?
(Q286570,P21,c(Q290))
action filter_type
action find
entity Q286570
relation P21
type Q290
['Q286570', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q286570 property:P21 ?c . ?c rdf:type ontology:Q290 }
Tia Carrere
action filter_type
action find
entity Tia Carrere
relation gender
type sex
['Tia Carrere', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Tia_Carrere property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q286570,P21,c(Q290))
action filter_type
action find
entity Q286570
relation P21
type Q290
The sex of Tia Carrere is the [ANSWER]
['Q286570', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q286570 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
The sex of Tia Carrere is the female
female
action filter_type
action find
entity Tia Carrere
relation gender
type sex
['Tia Carrere', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Tia_Carrere property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1506737
Q290
USER
And what about Georg von Zitzewitz?
(Q1506737,P21,c(Q290))
action filter_type
action find
entity Q1506737
relation P21
type Q290
['Q1506737', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1506737 property:P21 ?w . ?w rdf:type ontology:Q290 }
Georg von Zitzewitz
action filter_type
action find
entity Georg von Zitzewitz
relation gender
type sex
['Georg von Zitzewitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Georg_von_Zitzewitz property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1506737,P21,c(Q290))
action filter_type
action find
entity Q1506737
relation P21
type Q290
[ANSWER]
['Q1506737', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1506737 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Georg von Zitzewitz
relation gender
type sex
['Georg von Zitzewitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Georg_von_Zitzewitz property:gender ?w . ?w rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q4006515
P21
Q502895
USER
Does Urs Kunz have the gender as that sex ?
(Q4006515,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4006515
relation P21
['Q4006515', 'P21', 'Q6581097']
ASK WHERE { resource:Q4006515 property:P21 resource:Q6581097 }
male Urs Kunz
action is_in
entity male
action find
entity Urs Kunz
relation gender
['Urs Kunz', 'gender', 'male']
ASK WHERE { resource:Urs_Kunz property:gender resource:male }
[]
common name
SYSTEM
YES
(Q4006515,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4006515
relation P21
[ANSWER]
['Q4006515', 'P21', 'Q6581097']
ASK WHERE { resource:Q4006515 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Urs Kunz
relation gender
['Urs Kunz', 'gender', 'male']
ASK WHERE { resource:Urs_Kunz property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q107425 Q151885
USER
How many landscapes are exactly 1 concept located on ?
(c(Q151885),P706,c(Q107425))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { ?u rdf:type ontology:Q107425 . ?t rdf:type ontology:Q151885 . ?t property:P706 ?u } GROUP BY ?u } . FILTER ( ?w = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { ?u rdf:type ontology:landscape . ?t rdf:type ontology:concept . ?t property:located_on_terrain_feature ?u } GROUP BY ?u } . FILTER ( ?w = 1 ) }
[]
landscape concept
SYSTEM
4
Q202207 Q11767 Q38272 Q172702
(c(Q151885),P706,c(Q107425))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { ?u rdf:type ontology:Q107425 . ?t rdf:type ontology:Q151885 . ?t property:P706 ?u } GROUP BY ?u } . FILTER ( ?w = 1 ) }
Po Valley Mesopotamia British Isles Karakum Desert
4
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { ?u rdf:type ontology:landscape . ?t rdf:type ontology:concept . ?t property:located_on_terrain_feature ?u } GROUP BY ?u } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q234460 Q5962346 Q151885
USER
Which concepts are a part of around 1 texts or classification schemes ?
(c(Q151885),P361,c(Q234460)|c(Q5962346))
action approx
action union
action find_tuple_counts
relation P361
type Q151885
type Q234460
action find_tuple_counts
relation P361
type Q151885
type Q5962346
value 1
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?g ) WHERE { { ?j rdf:type ontology:Q151885 . ?t rdf:type ontology:Q234460 . ?j property:P361 ?t } UNION { ?j property:P361 ?t . ?j rdf:type ontology:Q151885 . ?t rdf:type ontology:Q5962346 } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
action approx
action union
action find_tuple_counts
relation part of
type concept
type text
action find_tuple_counts
relation part of
type concept
type classification scheme
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'text'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?g ) WHERE { { ?j rdf:type ontology:concept . ?t rdf:type ontology:text . ?j property:part_of ?t } UNION { ?j property:part_of ?t . ?j rdf:type ontology:concept . ?t rdf:type ontology:classification_scheme } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
[]
text classification scheme concept
Q5252737 Q286916 Q961596
SYSTEM
dualism, ABC theory, Stokes drift
Q5252737 Q1867823 Q286916 Q2556572 Q961596 Q7170676 Q2083958
(c(Q151885),P361,c(Q234460)|c(Q5962346))
action approx
action union
action find_tuple_counts
relation P361
type Q151885
type Q234460
action find_tuple_counts
relation P361
type Q151885
type Q5962346
value 1
[ANSWERS] are a part of around 1 texts or classification schemes
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?g ) WHERE { { ?j rdf:type ontology:Q151885 . ?t rdf:type ontology:Q234460 . ?j property:P361 ?t } UNION { ?j property:P361 ?t . ?j rdf:type ontology:Q151885 . ?t rdf:type ontology:Q5962346 } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
dualism proper ABC theory order Stokes drift Personification in the Bible pattern
Dualism, ABC theory and Stokes drift are a part of around 1 texts or classification schemes
dualism ABC theory Stokes drift
action approx
action union
action find_tuple_counts
relation part of
type concept
type text
action find_tuple_counts
relation part of
type concept
type classification scheme
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'text'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?g ) WHERE { { ?j rdf:type ontology:concept . ?t rdf:type ontology:text . ?j property:part_of ?t } UNION { ?j property:part_of ?t . ?j rdf:type ontology:concept . ?t rdf:type ontology:classification_scheme } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q2342494
USER
Which collectable was primarily based on politician ?
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q82955 . ?w rdf:type ontology:Q2342494 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:politician . ?w rdf:type ontology:collectable }
[]
collectable
Q21601944
SYSTEM
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Q21601944
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[ANSWER] was primarily based on politician
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q82955 . ?w rdf:type ontology:Q2342494 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales was primarily based on politician
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:politician . ?w rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q286570
P26
Q502895
USER
Which people are married to Tia Carrere ?
(c(Q502895),P26,Q286570)
action filter_type
action find
entity Q286570
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q286570']
SELECT DISTINCT ?q WHERE { resource:Q286570 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Tia Carrere
action filter_type
action find
entity Tia Carrere
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Tia Carrere']
SELECT DISTINCT ?q WHERE { resource:Tia_Carrere property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q16848647 Q381545
SYSTEM
Simon Wakelin, Elie Samaha
Q16848647 Q381545
(c(Q502895),P26,Q286570)
action filter_type
action find
entity Q286570
relation P26
type Q502895
[ANSWERS] are married to Tia Carrere
[{'concept': 'Q502895'}, 'P26', 'Q286570']
SELECT DISTINCT ?q WHERE { resource:Q286570 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Simon Wakelin Elie Samaha
Simon Wakelin and Elie Samaha are married to Tia Carrere
Simon Wakelin Elie Samaha
action filter_type
action find
entity Tia Carrere
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Tia Carrere']
SELECT DISTINCT ?q WHERE { resource:Tia_Carrere property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q381545
P58
Q838948
USER
What is that person a screwriter of ?
(c(Q838948),P58,Q381545)
action filter_type
action find_reverse
entity Q381545
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q381545']
SELECT DISTINCT ?d WHERE { ?d property:P58 resource:Q381545 . ?d rdf:type ontology:Q838948 }
Elie Samaha
action filter_type
action find_reverse
entity Elie Samaha
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Elie Samaha']
SELECT DISTINCT ?d WHERE { ?d property:screenwriter resource:Elie_Samaha . ?d rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q16848647
SYSTEM
Did you mean Simon Wakelin ?
Q16848647 Q381545
(c(Q838948),P58,Q16848647) (c(Q838948),P58,Q381545)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q16848647'] [{'concept': 'Q838948'}, 'P58', 'Q381545']
SELECT DISTINCT ?d WHERE { ?d property:P58 resource:Q381545 . ?d rdf:type ontology:Q838948 }
Simon Wakelin Elie Samaha
Did you mean Simon Wakelin ?
Simon Wakelin
[{'concept': 'work of art'}, 'screenwriter', 'Simon Wakelin'] [{'concept': 'work of art'}, 'screenwriter', 'Elie Samaha']
SELECT DISTINCT ?d WHERE { ?d property:screenwriter resource:Elie_Samaha . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Elie Samaha. Could you tell me the answer for that?
(c(Q838948),P58,Q381545)
Q381545
[{'concept': 'Q838948'}, 'P58', 'Q381545']
[{'concept': 'work of art'}, 'screenwriter', 'Elie Samaha']
[]
Q2253595
SYSTEM
The Immortals
Q2253595
(c(Q838948),P58,Q381545)
action filter_type
action find_reverse
entity Q381545
relation P58
type Q838948
That person a screwriter of is [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q381545']
SELECT DISTINCT ?d WHERE { ?d property:P58 resource:Q381545 . ?d rdf:type ontology:Q838948 }
The Immortals
That person a screwriter of is The Immortals
The Immortals
action filter_type
action find_reverse
entity Elie Samaha
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Elie Samaha']
SELECT DISTINCT ?d WHERE { ?d property:screenwriter resource:Elie_Samaha . ?d rdf:type ontology:work_of_art }
[]