Simple Question (Direct)
Simple Question
Q4226668
P734
Q82799
USER
Who is associated with Aleksandr Kozlov ?
(Q4226668,P734,c(Q82799))
action filter_type
action find
entity Q4226668
relation P734
type Q82799
['Q4226668', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q4226668 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Aleksandr Kozlov
action filter_type
action find
entity Aleksandr Kozlov
relation family name
type name
['Aleksandr Kozlov', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Aleksandr_Kozlov property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q4226805
SYSTEM
Kozlov
Q4226805
(Q4226668,P734,c(Q82799))
action filter_type
action find
entity Q4226668
relation P734
type Q82799
[ANSWER] is associated with Aleksandr [ANSWER]
['Q4226668', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q4226668 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Kozlov
Kozlov is associated with Aleksandr Kozlov
Kozlov
action filter_type
action find
entity Aleksandr Kozlov
relation family name
type name
['Aleksandr Kozlov', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Aleksandr_Kozlov property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4226668
P21
Q290
USER
Which sex does that person have ?
(Q4226805,P21,c(Q290))
action filter_type
action find
entity Q4226668
relation P21
type Q290
['Q4226805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4226668 property:P21 ?o . ?o rdf:type ontology:Q290 }
Aleksandr Kozlov
action filter_type
action find
entity Aleksandr Kozlov
relation gender
type sex
['Kozlov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Aleksandr_Kozlov property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4226805,P21,c(Q290))
action filter_type
action find
entity Q4226668
relation P21
type Q290
That person has a [ANSWER]
['Q4226805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4226668 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Aleksandr Kozlov
relation gender
type sex
['Kozlov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Aleksandr_Kozlov property:gender ?o . ?o rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1367
P180
Q82799 Q15709879 Q18783400
USER
Which names are expressed in approximately the same number of artwork series or genres of sculpture as monkey ?
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1367
relation P180
type Q15709879
type Q18783400
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P180 ?s . ?s rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?s . ?s rdf:type ontology:Q82799 . ?x rdf:type ontology:Q18783400 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P180 resource:Q1367 . { { ?y rdf:type ontology:Q18783400 } UNION { ?y rdf:type ontology:Q15709879 } } } } . FILTER ( ?o = ?l ) }
monkey
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity monkey
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:depicts ?s . ?s rdf:type ontology:name . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?s . ?s rdf:type ontology:name . ?x rdf:type ontology:genre_of_sculpture } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:depicts resource:monkey . { { ?y rdf:type ontology:genre_of_sculpture } UNION { ?y rdf:type ontology:artwork_series } } } } . FILTER ( ?o = ?l ) }
[]
name artwork series genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 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 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1367
relation P180
type Q15709879
type Q18783400
[ANSWERS] are expressed in approximately the same number of artwork series or genres of sculpture as monkey
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P180 ?s . ?s rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?s . ?s rdf:type ontology:Q82799 . ?x rdf:type ontology:Q18783400 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P180 resource:Q1367 . { { ?y rdf:type ontology:Q18783400 } UNION { ?y rdf:type ontology:Q15709879 } } } } . FILTER ( ?o = ?l ) }
octopus Cynara scolymus human 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 saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are expressed in approximately the same number of artwork series or genres of sculpture as monkey
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity monkey
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:depicts ?s . ?s rdf:type ontology:name . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?s . ?s rdf:type ontology:name . ?x rdf:type ontology:genre_of_sculpture } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:depicts resource:monkey . { { ?y rdf:type ontology:genre_of_sculpture } UNION { ?y rdf:type ontology:artwork_series } } } } . FILTER ( ?o = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q190294
P180
Q82799 Q15709879 Q18783400
USER
And also tell me about mouflon?
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q190294
relation P180
type Q15709879
type Q18783400
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?r WHERE { { ?j property:P180 ?r . ?r rdf:type ontology:Q82799 . ?j rdf:type ontology:Q15709879 } UNION { ?j property:P180 ?r . ?r rdf:type ontology:Q82799 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P180 resource:Q190294 . { { ?g rdf:type ontology:Q15709879 } UNION { ?g rdf:type ontology:Q18783400 } } } } . FILTER ( ?e = ?l ) }
mouflon
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity mouflon
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?r WHERE { { ?j property:depicts ?r . ?r rdf:type ontology:name . ?j rdf:type ontology:artwork_series } UNION { ?j property:depicts ?r . ?r rdf:type ontology:name . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:depicts resource:mouflon . { { ?g rdf:type ontology:artwork_series } UNION { ?g rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?e = ?l ) }
[]
name artwork series genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 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 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q190294
relation P180
type Q15709879
type Q18783400
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?r WHERE { { ?j property:P180 ?r . ?r rdf:type ontology:Q82799 . ?j rdf:type ontology:Q15709879 } UNION { ?j property:P180 ?r . ?r rdf:type ontology:Q82799 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P180 resource:Q190294 . { { ?g rdf:type ontology:Q15709879 } UNION { ?g rdf:type ontology:Q18783400 } } } } . FILTER ( ?e = ?l ) }
octopus Cynara scolymus human 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 saint 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 artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity mouflon
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?r WHERE { { ?j property:depicts ?r . ?r rdf:type ontology:name . ?j rdf:type ontology:artwork_series } UNION { ?j property:depicts ?r . ?r rdf:type ontology:name . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:depicts resource:mouflon . { { ?g rdf:type ontology:artwork_series } UNION { ?g rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?e = ?l ) }
[]