Simple Question (Direct)
Simple Question
Q5106793
P106
Q12737077
USER
Which occupation has Chris Harrington as his/her 's career ?
(Q5106793,P106,c(Q12737077))
action filter_type
action find
entity Q5106793
relation P106
type Q12737077
['Q5106793', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5106793 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Chris Harrington
action filter_type
action find
entity Chris Harrington
relation occupation
type occupation
['Chris Harrington', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Harrington property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5106793,P106,c(Q12737077))
action filter_type
action find
entity Q5106793
relation P106
type Q12737077
As [ANSWER] has Chris Harrington as his/her 's career
['Q5106793', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5106793 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
American football player
As American football player has Chris Harrington as his/her 's career
American football player
action filter_type
action find
entity Chris Harrington
relation occupation
type occupation
['Chris Harrington', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Harrington property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5106793
P735
Q82799
USER
What is forename of that person ?
(Q19204627,P735,c(Q82799))
action filter_type
action find
entity Q5106793
relation P735
type Q82799
['Q19204627', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5106793 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Chris Harrington
action filter_type
action find
entity Chris Harrington
relation given name
type name
['American football player', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Harrington property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q19204627,P735,c(Q82799))
action filter_type
action find
entity Q5106793
relation P735
type Q82799
Forename of that person is [ANSWER]
['Q19204627', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5106793 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Chris
Forename of that person is Chris
Chris
action filter_type
action find
entity Chris Harrington
relation given name
type name
['American football player', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Harrington property:given_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5106793
P21
Q290
USER
Which sex does that person have ?
(Q339346,P21,c(Q290))
action filter_type
action find
entity Q5106793
relation P21
type Q290
['Q339346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5106793 property:P21 ?j . ?j rdf:type ontology:Q290 }
Chris Harrington
action filter_type
action find
entity Chris Harrington
relation gender
type sex
['Chris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Chris_Harrington property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q339346,P21,c(Q290))
action filter_type
action find
entity Q5106793
relation P21
type Q290
That person has a [ANSWER]
['Q339346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5106793 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Chris Harrington
relation gender
type sex
['Chris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Chris_Harrington property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q339346
P1750
Q186081
USER
How many time intervals are the name day of Chris ?
(Q339346,P1750,c(Q186081))
action count
action filter_type
action find
entity Q339346
relation P1750
type Q186081
['Q339346', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q339346 property:P1750 ?h . ?h rdf:type ontology:Q186081 }
Chris
action count
action filter_type
action find
entity Chris
relation name day
type time interval
['Chris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Chris property:name_day ?h . ?h rdf:type ontology:time_interval }
[]
time interval
SYSTEM
1
Q2403
(Q339346,P1750,c(Q186081))
action count
action filter_type
action find
entity Q339346
relation P1750
type Q186081
[ANSWER]
['Q339346', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q339346 property:P1750 ?h . ?h rdf:type ontology:Q186081 }
March 15
1
action count
action filter_type
action find
entity Chris
relation name day
type time interval
['Chris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Chris property:name_day ?h . ?h rdf:type ontology:time_interval }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q18783400 Q1792379
USER
Which names are depicted in atmost 2 genres of sculpture and art genres ?
(c(Q18783400)|c(Q1792379),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
value 2
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P180 ?b . ?b rdf:type ontology:Q82799 . ?p rdf:type ontology:Q18783400 } UNION { ?p property:P180 ?b . ?p rdf:type ontology:Q1792379 . ?b rdf:type ontology:Q82799 } } GROUP BY ?b } . FILTER ( ?h <= 2 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type art genre
value 2
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:depicts ?b . ?b rdf:type ontology:name . ?p rdf:type ontology:genre_of_sculpture } UNION { ?p property:depicts ?b . ?p rdf:type ontology:art_genre . ?b rdf:type ontology:name } } GROUP BY ?b } . FILTER ( ?h <= 2 ) }
[]
name genre of sculpture art genre
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q18783400)|c(Q1792379),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
value 2
[ANSWERS] are depicted in atmost 2 genres of sculpture and art genres
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P180 ?b . ?b rdf:type ontology:Q82799 . ?p rdf:type ontology:Q18783400 } UNION { ?p property:P180 ?b . ?p rdf:type ontology:Q1792379 . ?b rdf:type ontology:Q82799 } } GROUP BY ?b } . FILTER ( ?h <= 2 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are depicted in atmost 2 genres of sculpture and art genres
dog leek magi
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type art genre
value 2
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:depicts ?b . ?b rdf:type ontology:name . ?p rdf:type ontology:genre_of_sculpture } UNION { ?p property:depicts ?b . ?p rdf:type ontology:art_genre . ?b rdf:type ontology:name } } GROUP BY ?b } . FILTER ( ?h <= 2 ) }
[]