Simple Question (Direct)
Simple Question
Q349690
P735
Q82799
USER
What is the firstname of Mel Blanc ?
(Q349690,P735,c(Q82799))
action filter_type
action find
entity Q349690
relation P735
type Q82799
['Q349690', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q349690 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Mel Blanc
action filter_type
action find
entity Mel Blanc
relation given name
type name
['Mel Blanc', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Mel_Blanc property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q4563684
SYSTEM
Mel
Q4563684
(Q349690,P735,c(Q82799))
action filter_type
action find
entity Q349690
relation P735
type Q82799
The firstname of [ANSWER] Blanc is of [ANSWER]
['Q349690', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q349690 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Mel
The firstname of Mel Blanc is of Mel
Mel
action filter_type
action find
entity Mel Blanc
relation given name
type name
['Mel Blanc', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Mel_Blanc property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4563684
P1533
Q82799
USER
Which name is identical to that one ?
(Q4563684,P1533,c(Q82799))
action filter_type
action find
entity Q4563684
relation P1533
type Q82799
['Q4563684', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q4563684 property:P1533 ?j }
Mel
action filter_type
action find
entity Mel
relation family name identical to this first name
type name
['Mel', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Mel property:family_name_identical_to_this_first_name ?j }
[]
name
Q16876784
SYSTEM
Mel
Q16876784
(Q4563684,P1533,c(Q82799))
action filter_type
action find
entity Q4563684
relation P1533
type Q82799
[ANSWER] is identical to that one
['Q4563684', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q4563684 property:P1533 ?j }
Mel
Mel is identical to that one
Mel
action filter_type
action find
entity Mel
relation family name identical to this first name
type name
['Mel', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Mel property:family_name_identical_to_this_first_name ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5955866 Q4563684
P734 P1533
Q82799
USER
What are same as Mel or are known by the name Bertrand Lindgren ?
OR((Q4563684,P1533,c(Q82799)), (Q5955866,P734,c(Q82799)))
action filter_type
action union
action find
entity Q4563684
relation P1533
action find
entity Q5955866
relation P734
type Q82799
{'OR': [['Q4563684', 'P1533', {'concept': 'Q82799'}], ['Q5955866', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q4563684 property:P1533 ?n } UNION { resource:Q5955866 property:P734 ?n } } . ?n rdf:type ontology:Q82799 }
Bertrand Lindgren Mel
action filter_type
action union
action find
entity Mel
relation family name identical to this first name
action find
entity Bertrand Lindgren
relation family name
type name
{'OR': [['Mel', 'family name identical to this first name', {'concept': 'name'}], ['Bertrand Lindgren', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mel property:family_name_identical_to_this_first_name ?n } UNION { resource:Bertrand_Lindgren property:family_name ?n } } . ?n rdf:type ontology:name }
[]
name
Q23536612 Q16876784
SYSTEM
Lindgren, Mel
Q23536612 Q16876784
OR((Q4563684,P1533,c(Q82799)), (Q5955866,P734,c(Q82799)))
action filter_type
action union
action find
entity Q4563684
relation P1533
action find
entity Q5955866
relation P734
type Q82799
[ANSWERS] are same as Mel or are known by the name Bertrand Lindgren
{'OR': [['Q4563684', 'P1533', {'concept': 'Q82799'}], ['Q5955866', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q4563684 property:P1533 ?n } UNION { resource:Q5955866 property:P734 ?n } } . ?n rdf:type ontology:Q82799 }
Lindgren Mel
Lindgren and Mel are same as Mel or are known by the name Bertrand Lindgren
Lindgren Mel
action filter_type
action union
action find
entity Mel
relation family name identical to this first name
action find
entity Bertrand Lindgren
relation family name
type name
{'OR': [['Mel', 'family name identical to this first name', {'concept': 'name'}], ['Bertrand Lindgren', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mel property:family_name_identical_to_this_first_name ?n } UNION { resource:Bertrand_Lindgren property:family_name ?n } } . ?n rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349690
P509
Q234460
USER
Which text was the cause of death of Mel Blanc ?
(Q349690,P509,c(Q234460))
action filter_type
action find
entity Q349690
relation P509
type Q234460
['Q349690', 'P509', {'concept': 'Q234460'}]
SELECT DISTINCT ?u WHERE { resource:Q349690 property:P509 ?u . ?u rdf:type ontology:Q234460 }
Mel Blanc
action filter_type
action find
entity Mel Blanc
relation cause of death
type text
['Mel Blanc', 'cause of death', {'concept': 'text'}]
SELECT DISTINCT ?u WHERE { resource:Mel_Blanc property:cause_of_death ?u . ?u rdf:type ontology:text }
[]
text
Q24276144
SYSTEM
Chronic Obstructive Pulmonary Disease (COPD)
Q24276144
(Q349690,P509,c(Q234460))
action filter_type
action find
entity Q349690
relation P509
type Q234460
[ANSWER] was the cause of death of Mel Blanc
['Q349690', 'P509', {'concept': 'Q234460'}]
SELECT DISTINCT ?u WHERE { resource:Q349690 property:P509 ?u . ?u rdf:type ontology:Q234460 }
Chronic Obstructive Pulmonary Disease (COPD)
Chronic Obstructive Pulmonary Disease (COPD) was the cause of death of Mel Blanc
Chronic Obstructive Pulmonary Disease (COPD)
action filter_type
action find
entity Mel Blanc
relation cause of death
type text
['Mel Blanc', 'cause of death', {'concept': 'text'}]
SELECT DISTINCT ?u WHERE { resource:Mel_Blanc property:cause_of_death ?u . ?u rdf:type ontology:text }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24276144 Q60346
P859
Q895526
USER
Is National Institute for Occupational Safety and Health the sponsor for that text ?
(Q24276144,P859,Q60346)
action is_in
entity Q60346
action find
entity Q24276144
relation P859
['Q24276144', 'P859', 'Q60346']
ASK WHERE { resource:Q24276144 property:P859 resource:Q60346 }
Chronic Obstructive Pulmonary Disease (COPD) National Institute for Occupational Safety and Health
action is_in
entity National Institute for Occupational Safety and Health
action find
entity Chronic Obstructive Pulmonary Disease (COPD)
relation sponsor
['Chronic Obstructive Pulmonary Disease (COPD)', 'sponsor', 'National Institute for Occupational Safety and Health']
ASK WHERE { resource:Chronic_Obstructive_Pulmonary_Disease_(COPD) property:sponsor resource:National_Institute_for_Occupational_Safety_and_Health }
[]
authority organ
SYSTEM
YES
(Q24276144,P859,Q60346)
action is_in
entity Q60346
action find
entity Q24276144
relation P859
[ANSWER]
['Q24276144', 'P859', 'Q60346']
ASK WHERE { resource:Q24276144 property:P859 resource:Q60346 }
Yes
action is_in
entity National Institute for Occupational Safety and Health
action find
entity Chronic Obstructive Pulmonary Disease (COPD)
relation sponsor
['Chronic Obstructive Pulmonary Disease (COPD)', 'sponsor', 'National Institute for Occupational Safety and Health']
ASK WHERE { resource:Chronic_Obstructive_Pulmonary_Disease_(COPD) property:sponsor resource:National_Institute_for_Occupational_Safety_and_Health }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8065468
P941
Q234460 Q95074 Q2342494
USER
How many texts were around the same number of fictional characters or collectables inspired by as The Adventures of Pinocchio ?
(c(Q95074)|c(Q2342494),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q95074
action find_reverse_tuple_counts
relation P941
type Q234460
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8065468
relation P941
type Q95074
type Q2342494
[[{'concept': 'Q95074'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P941 ?n . ?n rdf:type ontology:Q234460 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P941 ?n . ?n rdf:type ontology:Q234460 . ?i rdf:type ontology:Q95074 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { { ?v rdf:type ontology:Q95074 } UNION { ?v rdf:type ontology:Q2342494 } } . ?v property:P941 resource:Q8065468 } } . FILTER ( ?x = ?u ) }
The Adventures of Pinocchio
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type fictional character
action find_reverse_tuple_counts
relation inspired by
type text
type collectable
action count
action filter_multi_types
action find_reverse
entity The Adventures of Pinocchio
relation inspired by
type fictional character
type collectable
[[{'concept': 'fictional character'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:inspired_by ?n . ?n rdf:type ontology:text . ?i rdf:type ontology:collectable } UNION { ?i property:inspired_by ?n . ?n rdf:type ontology:text . ?i rdf:type ontology:fictional_character } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { { ?v rdf:type ontology:fictional_character } UNION { ?v rdf:type ontology:collectable } } . ?v property:inspired_by resource:The_Adventures_of_Pinocchio } } . FILTER ( ?x = ?u ) }
[]
text fictional character collectable
SYSTEM
20
Q1775812 Q918060 Q16639772 Q9184 Q8065468 Q1136104 Q185427 Q1155892 Q48328 Q1574072 Q279486 Q2002867 Q8269 Q785487 Q1428590 Q1217507 Q1214433 Q9190 Q27104919 Q772766
(c(Q95074)|c(Q2342494),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q95074
action find_reverse_tuple_counts
relation P941
type Q234460
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8065468
relation P941
type Q95074
type Q2342494
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P941 ?n . ?n rdf:type ontology:Q234460 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P941 ?n . ?n rdf:type ontology:Q234460 . ?i rdf:type ontology:Q95074 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { { ?v rdf:type ontology:Q95074 } UNION { ?v rdf:type ontology:Q2342494 } } . ?v property:P941 resource:Q8065468 } } . FILTER ( ?x = ?u ) }
Mario and the Magician The Fox and the Hound The Rescuers Genesis The Adventures of Pinocchio Le Morte d'Arthur The Song of Roland Ab urbe condita libri Beowulf Hamzanama The Song of Hiawatha Sun, Moon, and Talia The Tale of Genji Le Chef-d'œuvre inconnu Beware of Pity The World of Yesterday Tribulations of a Chinaman in China Exodus Happy Dan, The Whistling Dog The Diary of Lady Murasaki
20
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type fictional character
action find_reverse_tuple_counts
relation inspired by
type text
type collectable
action count
action filter_multi_types
action find_reverse
entity The Adventures of Pinocchio
relation inspired by
type fictional character
type collectable
[[{'concept': 'fictional character'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:inspired_by ?n . ?n rdf:type ontology:text . ?i rdf:type ontology:collectable } UNION { ?i property:inspired_by ?n . ?n rdf:type ontology:text . ?i rdf:type ontology:fictional_character } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { { ?v rdf:type ontology:fictional_character } UNION { ?v rdf:type ontology:collectable } } . ?v property:inspired_by resource:The_Adventures_of_Pinocchio } } . FILTER ( ?x = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q772766
P941
Q234460 Q95074 Q2342494
USER
And how about The Diary of Lady Murasaki?
(c(Q95074)|c(Q2342494),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q95074
action find_reverse_tuple_counts
relation P941
type Q234460
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q772766
relation P941
type Q95074
type Q2342494
[[{'concept': 'Q95074'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P941 resource:Q772766 . { { ?a rdf:type ontology:Q95074 } UNION { ?a rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?f WHERE { VALUES ( ?h ) { ( ontology:Q95074 ) ( ontology:Q2342494 ) } . ?w rdf:type ?h } GROUP BY ?f } }
The Diary of Lady Murasaki
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type fictional character
action find_reverse_tuple_counts
relation inspired by
type text
type collectable
action count
action filter_multi_types
action find_reverse
entity The Diary of Lady Murasaki
relation inspired by
type fictional character
type collectable
[[{'concept': 'fictional character'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:inspired_by resource:The_Diary_of_Lady_Murasaki . { { ?a rdf:type ontology:fictional_character } UNION { ?a rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?f WHERE { VALUES ( ?h ) { ( ontology:fictional_character ) ( ontology:collectable ) } . ?w rdf:type ?h } GROUP BY ?f } }
[]
text fictional character collectable
SYSTEM
20
Q1775812 Q918060 Q16639772 Q9184 Q8065468 Q1136104 Q185427 Q1155892 Q48328 Q1574072 Q279486 Q2002867 Q8269 Q785487 Q1428590 Q1217507 Q1214433 Q9190 Q27104919 Q772766
(c(Q95074)|c(Q2342494),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q95074
action find_reverse_tuple_counts
relation P941
type Q234460
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q772766
relation P941
type Q95074
type Q2342494
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P941 resource:Q772766 . { { ?a rdf:type ontology:Q95074 } UNION { ?a rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?f WHERE { VALUES ( ?h ) { ( ontology:Q95074 ) ( ontology:Q2342494 ) } . ?w rdf:type ?h } GROUP BY ?f } }
Mario and the Magician The Fox and the Hound The Rescuers Genesis The Adventures of Pinocchio Le Morte d'Arthur The Song of Roland Ab urbe condita libri Beowulf Hamzanama The Song of Hiawatha Sun, Moon, and Talia The Tale of Genji Le Chef-d'œuvre inconnu Beware of Pity The World of Yesterday Tribulations of a Chinaman in China Exodus Happy Dan, The Whistling Dog The Diary of Lady Murasaki
20
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type fictional character
action find_reverse_tuple_counts
relation inspired by
type text
type collectable
action count
action filter_multi_types
action find_reverse
entity The Diary of Lady Murasaki
relation inspired by
type fictional character
type collectable
[[{'concept': 'fictional character'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:inspired_by resource:The_Diary_of_Lady_Murasaki . { { ?a rdf:type ontology:fictional_character } UNION { ?a rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?f WHERE { VALUES ( ?h ) { ( ontology:fictional_character ) ( ontology:collectable ) } . ?w rdf:type ?h } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P186
Q5447188 Q234460
USER
How many solutions are used to construct atmost 1 text ?
(c(Q234460),P186,c(Q5447188))
action count
action atmost
action find_reverse_tuple_counts
relation P186
type Q5447188
type Q234460
value 1
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P186 ?t . ?t rdf:type ontology:Q5447188 . ?e rdf:type ontology:Q234460 } GROUP BY ?t } . FILTER ( ?d <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation material used
type solution
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'solution'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:material_used ?t . ?t rdf:type ontology:solution . ?e rdf:type ontology:text } GROUP BY ?t } . FILTER ( ?d <= 1 ) }
[]
solution text
SYSTEM
13
Q866612 Q34095 Q518350 Q860451 Q447725 Q39782 Q1024124 Q26269430 Q31576 Q172587 Q483269 Q967996 Q756257
(c(Q234460),P186,c(Q5447188))
action count
action atmost
action find_reverse_tuple_counts
relation P186
type Q5447188
type Q234460
value 1
[ANSWER]
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P186 ?t . ?t rdf:type ontology:Q5447188 . ?e rdf:type ontology:Q234460 } GROUP BY ?t } . FILTER ( ?d <= 1 ) }
solder bronze copper alloy wrought iron aluminium alloy brass weathering steel lead tin alloy sterling silver stainless steel cast iron Carbon steel tombac
13
action count
action atmost
action find_reverse_tuple_counts
relation material used
type solution
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'solution'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:material_used ?t . ?t rdf:type ontology:solution . ?e rdf:type ontology:text } GROUP BY ?t } . FILTER ( ?d <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q24067392
P180
Q82799 Q11060274 Q3305213
USER
Which names are demonstrated in approximately the same number of prints and paintings as Boy ?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?w WHERE { { ?p property:P180 ?w . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q11060274 } UNION { ?p property:P180 ?w . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q3305213 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P180 resource:Q24067392 . { { ?r rdf:type ontology:Q11060274 } UNION { ?r rdf:type ontology:Q3305213 } } } } . FILTER ( ?g = ?o ) }
Boy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?w WHERE { { ?p property:depicts ?w . ?w rdf:type ontology:name . ?p rdf:type ontology:print } UNION { ?p property:depicts ?w . ?w rdf:type ontology:name . ?p rdf:type ontology:painting } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:depicts resource:Boy . { { ?r rdf:type ontology:print } UNION { ?r rdf:type ontology:painting } } } } . FILTER ( ?g = ?o ) }
[]
name print painting
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q11060274
type Q3305213
[ANSWERS] are demonstrated in approximately the same number of prints and paintings as Boy
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?w WHERE { { ?p property:P180 ?w . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q11060274 } UNION { ?p property:P180 ?w . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q3305213 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P180 resource:Q24067392 . { { ?r rdf:type ontology:Q11060274 } UNION { ?r rdf:type ontology:Q3305213 } } } } . FILTER ( ?g = ?o ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are demonstrated in approximately the same number of prints and paintings as Boy
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?w WHERE { { ?p property:depicts ?w . ?w rdf:type ontology:name . ?p rdf:type ontology:print } UNION { ?p property:depicts ?w . ?w rdf:type ontology:name . ?p rdf:type ontology:painting } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:depicts resource:Boy . { { ?r rdf:type ontology:print } UNION { ?r rdf:type ontology:painting } } } } . FILTER ( ?g = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7378
P180
Q82799 Q11060274 Q3305213
USER
And how about elephant?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q7378
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?i rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P180 resource:Q7378 . { VALUES ( ?t ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?l rdf:type ?t } } } . FILTER ( ?k = ?g ) }
elephant
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity elephant
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:painting ) } . ?i rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:depicts resource:elephant . { VALUES ( ?t ) { ( ontology:print ) ( ontology:painting ) } . ?l rdf:type ?t } } } . FILTER ( ?k = ?g ) }
[]
name print painting
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q7378
relation P180
type Q11060274
type Q3305213
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?i rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P180 resource:Q7378 . { VALUES ( ?t ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?l rdf:type ?t } } } . FILTER ( ?k = ?g ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity elephant
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:painting ) } . ?i rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:depicts resource:elephant . { VALUES ( ?t ) { ( ontology:print ) ( ontology:painting ) } . ?l rdf:type ?t } } } . FILTER ( ?k = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349690
P40
Q502895
USER
Who is a child of Mel Blanc ?
(Q349690,P40,c(Q502895))
action filter_type
action find
entity Q349690
relation P40
type Q502895
['Q349690', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q349690 property:P40 ?n }
Mel Blanc
action filter_type
action find
entity Mel Blanc
relation child
type common name
['Mel Blanc', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Mel_Blanc property:child ?n }
[]
common name
Q3342652
SYSTEM
Noel Blanc
Q3342652
(Q349690,P40,c(Q502895))
action filter_type
action find
entity Q349690
relation P40
type Q502895
A child of Mel Blanc is called [ANSWER]
['Q349690', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q349690 property:P40 ?n }
Noel Blanc
A child of Mel Blanc is called Noel Blanc
Noel Blanc
action filter_type
action find
entity Mel Blanc
relation child
type common name
['Mel Blanc', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Mel_Blanc property:child ?n }
[]