Simple Question (Direct)
Simple Question
Q980048
P39
Q12737077
USER
What was the position held by Jean Rolin ?
(Q980048,P39,c(Q12737077))
action filter_type
action find
entity Q980048
relation P39
type Q12737077
['Q980048', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q980048 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Jean Rolin
action filter_type
action find
entity Jean Rolin
relation position held
type occupation
['Jean Rolin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Rolin property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q980048,P39,c(Q12737077))
action filter_type
action find
entity Q980048
relation P39
type Q12737077
The position held by Jean Rolin was a [ANSWER]
['Q980048', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q980048 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
bishop
The position held by Jean Rolin was a bishop
bishop
action filter_type
action find
entity Jean Rolin
relation position held
type occupation
['Jean Rolin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Rolin property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q980048
P734
Q82799
USER
Which name is associated with that person ?
(Q29182,P734,c(Q82799))
action filter_type
action find
entity Q980048
relation P734
type Q82799
['Q29182', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q980048 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Jean Rolin
action filter_type
action find
entity Jean Rolin
relation family name
type name
['bishop', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Rolin property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q21493708
SYSTEM
Rolin
Q21493708
(Q29182,P734,c(Q82799))
action filter_type
action find
entity Q980048
relation P734
type Q82799
[ANSWER] is associated with that person
['Q29182', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q980048 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Rolin
Rolin is associated with that person
Rolin
action filter_type
action find
entity Jean Rolin
relation family name
type name
['bishop', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Rolin property:family_name ?y . ?y rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21493708 Q980048
P734
Q502895
USER
Does Jean Rolin have that one as last name ?
(Q980048,P734,Q21493708)
action is_in
entity Q21493708
action find
entity Q980048
relation P734
['Q980048', 'P734', 'Q21493708']
ASK WHERE { resource:Q980048 property:P734 resource:Q21493708 }
Rolin Jean Rolin
action is_in
entity Rolin
action find
entity Jean Rolin
relation family name
['Jean Rolin', 'family name', 'Rolin']
ASK WHERE { resource:Jean_Rolin property:family_name resource:Rolin }
[]
common name
SYSTEM
YES
(Q980048,P734,Q21493708)
action is_in
entity Q21493708
action find
entity Q980048
relation P734
[ANSWER]
['Q980048', 'P734', 'Q21493708']
ASK WHERE { resource:Q980048 property:P734 resource:Q21493708 }
Yes
action is_in
entity Rolin
action find
entity Jean Rolin
relation family name
['Jean Rolin', 'family name', 'Rolin']
ASK WHERE { resource:Jean_Rolin property:family_name resource:Rolin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q980048 Q167600
P20
Q20667921
USER
Did the expiration of Jean Rolin occur Auxerre ?
(Q980048,P20,Q167600)
action is_in
entity Q167600
action find
entity Q980048
relation P20
['Q980048', 'P20', 'Q167600']
ASK WHERE { resource:Q980048 property:P20 resource:Q167600 }
Jean Rolin Auxerre
action is_in
entity Auxerre
action find
entity Jean Rolin
relation place of death
['Jean Rolin', 'place of death', 'Auxerre']
ASK WHERE { resource:Jean_Rolin property:place_of_death resource:Auxerre }
[]
type of french administrative division
SYSTEM
YES
(Q980048,P20,Q167600)
action is_in
entity Q167600
action find
entity Q980048
relation P20
[ANSWER]
['Q980048', 'P20', 'Q167600']
ASK WHERE { resource:Q980048 property:P20 resource:Q167600 }
Yes
action is_in
entity Auxerre
action find
entity Jean Rolin
relation place of death
['Jean Rolin', 'place of death', 'Auxerre']
ASK WHERE { resource:Jean_Rolin property:place_of_death resource:Auxerre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15629245
P180
Q82799 Q1792379 Q838948
USER
How many names are depicted in greater number of art genres and works of art than lizard ?
(c(Q1792379)|c(Q838948),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15629245
relation P180
type Q1792379
type Q838948
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P180 resource:Q15629245 . { VALUES ( ?c ) { ( ontology:Q1792379 ) ( ontology:Q838948 ) } . ?j rdf:type ?c } } } . FILTER ( ?v > ?p ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?b WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } GROUP BY ?b } }
lizard
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity lizard
relation depicts
type art genre
type work of art
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:depicts resource:lizard . { VALUES ( ?c ) { ( ontology:art_genre ) ( ontology:work_of_art ) } . ?j rdf:type ?c } } } . FILTER ( ?v > ?p ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?b WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } GROUP BY ?b } }
[]
name art genre work of art
SYSTEM
14
Q5 Q726 Q3736439 Q7368 Q7369 Q2092297 Q144 Q8331 Q3537778 Q1367 Q9394 Q2734060 Q7378 Q152
(c(Q1792379)|c(Q838948),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15629245
relation P180
type Q1792379
type Q838948
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P180 resource:Q15629245 . { VALUES ( ?c ) { ( ontology:Q1792379 ) ( ontology:Q838948 ) } . ?j rdf:type ?c } } } . FILTER ( ?v > ?p ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?b WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } GROUP BY ?b } }
human horse duck Ovis aries dolphin eagle dog fox donkeys monkey rabbit reed elephant fish
14
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity lizard
relation depicts
type art genre
type work of art
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:depicts resource:lizard . { VALUES ( ?c ) { ( ontology:art_genre ) ( ontology:work_of_art ) } . ?j rdf:type ?c } } } . FILTER ( ?v > ?p ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?b WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2734060
P180
Q82799 Q1792379 Q838948
USER
And what about reed?
(c(Q1792379)|c(Q838948),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2734060
relation P180
type Q1792379
type Q838948
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P180 ?u . ?u rdf:type ontology:Q82799 . ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q1792379 . ?u rdf:type ontology:Q82799 . ?i property:P180 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P180 resource:Q2734060 . { { ?m rdf:type ontology:Q1792379 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?l ) }
reed
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity reed
relation depicts
type art genre
type work of art
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:depicts ?u . ?u rdf:type ontology:name . ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:art_genre . ?u rdf:type ontology:name . ?i property:depicts ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:depicts resource:reed . { { ?m rdf:type ontology:art_genre } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?l ) }
[]
name art genre work of art
SYSTEM
12
Q726 Q3736439 Q7368 Q7369 Q2092297 Q144 Q8331 Q3537778 Q1367 Q9394 Q7378 Q152
(c(Q1792379)|c(Q838948),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2734060
relation P180
type Q1792379
type Q838948
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P180 ?u . ?u rdf:type ontology:Q82799 . ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q1792379 . ?u rdf:type ontology:Q82799 . ?i property:P180 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P180 resource:Q2734060 . { { ?m rdf:type ontology:Q1792379 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?l ) }
horse duck Ovis aries dolphin eagle dog fox donkeys monkey rabbit elephant fish
12
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity reed
relation depicts
type art genre
type work of art
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:depicts ?u . ?u rdf:type ontology:name . ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:art_genre . ?u rdf:type ontology:name . ?i property:depicts ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:depicts resource:reed . { { ?m rdf:type ontology:art_genre } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3769447 Q980048
P27
Q15617994
USER
Which administrative territories are the native countriesof Jean Rolin or Giuliano Vincenzi ?
OR((Q980048,P27,c(Q15617994)), (Q3769447,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q980048
relation P27
action find
entity Q3769447
relation P27
type Q15617994
{'OR': [['Q980048', 'P27', {'concept': 'Q15617994'}], ['Q3769447', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q980048 property:P27 ?g } UNION { resource:Q3769447 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Giuliano Vincenzi Jean Rolin
action filter_type
action union
action find
entity Jean Rolin
relation country of citizenship
action find
entity Giuliano Vincenzi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean Rolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giuliano Vincenzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jean_Rolin property:country_of_citizenship ?g } UNION { resource:Giuliano_Vincenzi property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q980048,P27,c(Q15617994)), (Q3769447,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q980048
relation P27
action find
entity Q3769447
relation P27
type Q15617994
[ANSWERS] are the native countriesof Jean Rolin or Giuliano Vincenzi
{'OR': [['Q980048', 'P27', {'concept': 'Q15617994'}], ['Q3769447', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q980048 property:P27 ?g } UNION { resource:Q3769447 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
France Italy
France and Italy are the native countriesof Jean Rolin or Giuliano Vincenzi
France Italy
action filter_type
action union
action find
entity Jean Rolin
relation country of citizenship
action find
entity Giuliano Vincenzi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean Rolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giuliano Vincenzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jean_Rolin property:country_of_citizenship ?g } UNION { resource:Giuliano_Vincenzi property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3258662
P495
Q838948
USER
Did Far from Vietnam originate in those administrative territories ?
(Q3258662,P495,Q142) (Q3258662,P495,Q38)
action is_in
entity prev_answer
action find
entity Q3258662
relation P495
['Q3258662', 'P495', 'Q142'] ['Q3258662', 'P495', 'Q38']
ASK WHERE { resource:Q3258662 property:P495 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q38 ) } }
Far from Vietnam
action is_in
entity prev_answer
action find
entity Far from Vietnam
relation country of origin
['Far from Vietnam', 'country of origin', 'France'] ['Far from Vietnam', 'country of origin', 'Italy']
ASK WHERE { resource:Far_from_Vietnam property:country_of_origin ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Italy ) } }
[]
work of art
SYSTEM
NO
(Q3258662,P495,Q142) (Q3258662,P495,Q38)
action is_in
entity prev_answer
action find
entity Q3258662
relation P495
[ANSWER]
['Q3258662', 'P495', 'Q142'] ['Q3258662', 'P495', 'Q38']
ASK WHERE { resource:Q3258662 property:P495 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q38 ) } }
No
action is_in
entity prev_answer
action find
entity Far from Vietnam
relation country of origin
['Far from Vietnam', 'country of origin', 'France'] ['Far from Vietnam', 'country of origin', 'Italy']
ASK WHERE { resource:Far_from_Vietnam property:country_of_origin ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Italy ) } }
[]