Simple Question (Direct)
Simple Question
Q2746416
P22
Q502895
USER
Who was the dad of Pehr G. Gyllenhammar ?
(Q2746416,P22,c(Q502895))
action filter_type
action find
entity Q2746416
relation P22
type Q502895
['Q2746416', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2746416 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Pehr G. Gyllenhammar
action filter_type
action find
entity Pehr G. Gyllenhammar
relation father
type common name
['Pehr G. Gyllenhammar', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Pehr_G._Gyllenhammar property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q5779359
SYSTEM
Pehr Gyllenhammar
Q5779359
(Q2746416,P22,c(Q502895))
action filter_type
action find
entity Q2746416
relation P22
type Q502895
The dad of Pehr G. Gyllenhammar was also [ANSWER]
['Q2746416', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2746416 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Pehr Gyllenhammar
The dad of Pehr G. Gyllenhammar was also Pehr Gyllenhammar
Pehr Gyllenhammar
action filter_type
action find
entity Pehr G. Gyllenhammar
relation father
type common name
['Pehr G. Gyllenhammar', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Pehr_G._Gyllenhammar property:father ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5779359
P734
Q82799
USER
Which name is associated with that person ?
(Q5779359,P734,c(Q82799))
action filter_type
action find
entity Q5779359
relation P734
type Q82799
['Q5779359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q5779359 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Pehr Gyllenhammar
action filter_type
action find
entity Pehr Gyllenhammar
relation family name
type name
['Pehr Gyllenhammar', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Pehr_Gyllenhammar property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q27824236
SYSTEM
Gyllenhammar
Q27824236
(Q5779359,P734,c(Q82799))
action filter_type
action find
entity Q5779359
relation P734
type Q82799
[ANSWER] is associated with that person
['Q5779359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q5779359 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Gyllenhammar
Gyllenhammar is associated with that person
Gyllenhammar
action filter_type
action find
entity Pehr Gyllenhammar
relation family name
type name
['Pehr Gyllenhammar', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Pehr_Gyllenhammar property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5779359
P40
Q502895
USER
Which people are children of Pehr Gyllenhammar ?
(Q5779359,P40,c(Q502895))
action filter_type
action find
entity Q5779359
relation P40
type Q502895
['Q5779359', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q5779359 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Pehr Gyllenhammar
action filter_type
action find
entity Pehr Gyllenhammar
relation child
type common name
['Pehr Gyllenhammar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Pehr_Gyllenhammar property:child ?h . ?h rdf:type ontology:common_name }
[]
common name
Q19249924 Q2746416
SYSTEM
Anne Gyllenhammar, Pehr G. Gyllenhammar
Q19249924 Q2746416
(Q5779359,P40,c(Q502895))
action filter_type
action find
entity Q5779359
relation P40
type Q502895
[ANSWERS] are children of Pehr Gyllenhammar
['Q5779359', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q5779359 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Anne Gyllenhammar Pehr G. Gyllenhammar
Anne Gyllenhammar and Pehr G. Gyllenhammar are children of Pehr Gyllenhammar
Anne Gyllenhammar Pehr G. Gyllenhammar
action filter_type
action find
entity Pehr Gyllenhammar
relation child
type common name
['Pehr Gyllenhammar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Pehr_Gyllenhammar property:child ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12328619
P40
Q502895
USER
Do Niclas Petersen have those ones as a child ?
(Q12328619,P40,Q19249924) (Q12328619,P40,Q2746416)
action is_in
entity prev_answer
action find
entity Q12328619
relation P40
['Q12328619', 'P40', 'Q19249924'] ['Q12328619', 'P40', 'Q2746416']
ASK WHERE { VALUES ( ?c ) { ( resource:Q19249924 ) ( resource:Q2746416 ) } . resource:Q12328619 property:P40 ?c }
Niclas Petersen
action is_in
entity prev_answer
action find
entity Niclas Petersen
relation child
['Niclas Petersen', 'child', 'Anne Gyllenhammar'] ['Niclas Petersen', 'child', 'Pehr G. Gyllenhammar']
ASK WHERE { VALUES ( ?c ) { ( resource:Anne_Gyllenhammar ) ( resource:Pehr_G._Gyllenhammar ) } . resource:Niclas_Petersen property:child ?c }
[]
common name
SYSTEM
NO
(Q12328619,P40,Q19249924) (Q12328619,P40,Q2746416)
action is_in
entity prev_answer
action find
entity Q12328619
relation P40
[ANSWER]
['Q12328619', 'P40', 'Q19249924'] ['Q12328619', 'P40', 'Q2746416']
ASK WHERE { VALUES ( ?c ) { ( resource:Q19249924 ) ( resource:Q2746416 ) } . resource:Q12328619 property:P40 ?c }
No
action is_in
entity prev_answer
action find
entity Niclas Petersen
relation child
['Niclas Petersen', 'child', 'Anne Gyllenhammar'] ['Niclas Petersen', 'child', 'Pehr G. Gyllenhammar']
ASK WHERE { VALUES ( ?c ) { ( resource:Anne_Gyllenhammar ) ( resource:Pehr_G._Gyllenhammar ) } . resource:Niclas_Petersen property:child ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12328619
P106
Q12737077
USER
What does that person do for a living ?
action filter_type
action find
entity Q12328619
relation P106
type Q12737077
SELECT DISTINCT ?b WHERE { resource:Q12328619 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Niclas Petersen
action filter_type
action find
entity Niclas Petersen
relation occupation
type occupation
SELECT DISTINCT ?b WHERE { resource:Niclas_Petersen property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q177220
SYSTEM
singer
Q177220
action filter_type
action find
entity Q12328619
relation P106
type Q12737077
[ANSWER] that person does for a living
SELECT DISTINCT ?b WHERE { resource:Q12328619 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
singer
Singer that person does for a living
singer
action filter_type
action find
entity Niclas Petersen
relation occupation
type occupation
SELECT DISTINCT ?b WHERE { resource:Niclas_Petersen property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations are the fields of work of approximately the same number of collectables as that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q177220
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q177220 property:P101 ?d . ?d rdf:type ontology:Q12737077 } } . FILTER ( ?i = ?g ) }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity singer
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:field_of_work ?o . ?o rdf:type ontology:occupation . ?x rdf:type ontology:collectable } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:singer property:field_of_work ?d . ?d rdf:type ontology:occupation } } . FILTER ( ?i = ?g ) }
[]
occupation collectable
SYSTEM
117
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q177220
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q177220 property:P101 ?d . ?d rdf:type ontology:Q12737077 } } . FILTER ( ?i = ?g ) }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
117
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity singer
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:field_of_work ?o . ?o rdf:type ontology:occupation . ?x rdf:type ontology:collectable } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:singer property:field_of_work ?d . ?d rdf:type ontology:occupation } } . FILTER ( ?i = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q18783400
USER
Which names are expressed in approximately 1 art genres or genres of sculpture ?
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
value 1
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { { ?d property:P180 ?n . ?n rdf:type ontology:Q82799 . ?d rdf:type ontology:Q1792379 } UNION { ?d property:P180 ?n . ?n rdf:type ontology:Q82799 . ?d rdf:type ontology:Q18783400 } } GROUP BY ?n } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
value 1
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { { ?d property:depicts ?n . ?n rdf:type ontology:name . ?d rdf:type ontology:art_genre } UNION { ?d property:depicts ?n . ?n rdf:type ontology:name . ?d rdf:type ontology:genre_of_sculpture } } GROUP BY ?n } . FILTER ( ?x = 1 ) }
[]
name art genre genre of sculpture
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(Q1792379)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
value 1
[ANSWERS] are expressed in approximately 1 art genres or genres of sculpture
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { { ?d property:P180 ?n . ?n rdf:type ontology:Q82799 . ?d rdf:type ontology:Q1792379 } UNION { ?d property:P180 ?n . ?n rdf:type ontology:Q82799 . ?d rdf:type ontology:Q18783400 } } GROUP BY ?n } . FILTER ( ?x = 1 ) }
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 expressed in approximately 1 art genres or genres of sculpture
dog leek magi
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
value 1
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { { ?d property:depicts ?n . ?n rdf:type ontology:name . ?d rdf:type ontology:art_genre } UNION { ?d property:depicts ?n . ?n rdf:type ontology:name . ?d rdf:type ontology:genre_of_sculpture } } GROUP BY ?n } . FILTER ( ?x = 1 ) }
[]