Simple Question (Direct)
Simple Question
Q1255993
P734
Q82799
USER
Which name is associated with Hideaki Mori ?
(Q1255993,P734,c(Q82799))
action filter_type
action find
entity Q1255993
relation P734
type Q82799
['Q1255993', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q1255993 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Hideaki Mori
action filter_type
action find
entity Hideaki Mori
relation family name
type name
['Hideaki Mori', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Hideaki_Mori property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q229146
SYSTEM
Mori
Q229146
(Q1255993,P734,c(Q82799))
action filter_type
action find
entity Q1255993
relation P734
type Q82799
[ANSWER] is associated with Hideaki [ANSWER]
['Q1255993', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q1255993 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Mori
Mori is associated with Hideaki Mori
Mori
action filter_type
action find
entity Hideaki Mori
relation family name
type name
['Hideaki Mori', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Hideaki_Mori property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1255993
P21
Q290
USER
Which sex does Hideaki Mori have ?
(Q1255993,P21,c(Q290))
action filter_type
action find
entity Q1255993
relation P21
type Q290
['Q1255993', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1255993 property:P21 ?x . ?x rdf:type ontology:Q290 }
Hideaki Mori
action filter_type
action find
entity Hideaki Mori
relation gender
type sex
['Hideaki Mori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Hideaki_Mori property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1255993,P21,c(Q290))
action filter_type
action find
entity Q1255993
relation P21
type Q290
Hideaki Mori has a [ANSWER]
['Q1255993', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1255993 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Hideaki Mori has a male
male
action filter_type
action find
entity Hideaki Mori
relation gender
type sex
['Hideaki Mori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Hideaki_Mori property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1255993
P106
Q12737077
USER
What does Hideaki Mori do for a living ?
(Q1255993,P106,c(Q12737077))
action filter_type
action find
entity Q1255993
relation P106
type Q12737077
['Q1255993', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1255993 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Hideaki Mori
action filter_type
action find
entity Hideaki Mori
relation occupation
type occupation
['Hideaki Mori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Hideaki_Mori property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1255993,P106,c(Q12737077))
action filter_type
action find
entity Q1255993
relation P106
type Q12737077
Hideaki Mori does for a living as [ANSWER]
['Q1255993', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1255993 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
Hideaki Mori does for a living as association football player
association football player
action filter_type
action find
entity Hideaki Mori
relation occupation
type occupation
['Hideaki Mori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Hideaki_Mori property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q3778516 Q2736
P425
Q349
USER
Does Ladies' Gaelic football and association football belong to Q937857 ?
(Q937857,P425,Q3778516) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q3778516
relation P425
action find_reverse
entity Q2736
relation P425
['Q937857', 'P425', 'Q3778516'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q3778516 . resource:Q937857 property:P425 resource:Q2736 }
association football player Ladies' Gaelic football association football
action is_in
entity association football player
action intersection
action find_reverse
entity Ladies' Gaelic football
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', "Ladies' Gaelic football"] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Ladies'_Gaelic_football . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
NO and YES respectively
(Q937857,P425,Q3778516) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q3778516
relation P425
action find_reverse
entity Q2736
relation P425
[ANSWER]
['Q937857', 'P425', 'Q3778516'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q3778516 . resource:Q937857 property:P425 resource:Q2736 }
NO and YES respectively
action is_in
entity association football player
action intersection
action find_reverse
entity Ladies' Gaelic football
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', "Ladies' Gaelic football"] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Ladies'_Gaelic_football . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q229146 Q36751
P407
Q34770
USER
Is Mori in Phrygian language ?
(Q229146,P407,Q36751)
action is_in
entity Q36751
action find
entity Q229146
relation P407
['Q229146', 'P407', 'Q36751']
ASK WHERE { resource:Q229146 property:P407 resource:Q36751 }
Mori Phrygian language
action is_in
entity Phrygian language
action find
entity Mori
relation language of work or name
['Mori', 'language of work or name', 'Phrygian language']
ASK WHERE { resource:Mori property:language_of_work_or_name resource:Phrygian_language }
[]
language
SYSTEM
NO
(Q229146,P407,Q36751)
action is_in
entity Q36751
action find
entity Q229146
relation P407
[ANSWER]
['Q229146', 'P407', 'Q36751']
ASK WHERE { resource:Q229146 property:P407 resource:Q36751 }
No
action is_in
entity Phrygian language
action find
entity Mori
relation language of work or name
['Mori', 'language of work or name', 'Phrygian language']
ASK WHERE { resource:Mori property:language_of_work_or_name resource:Phrygian_language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q830
P180
Q82799 Q15709879 Q11060274
USER
How many names are expressed in greater number of artwork series or prints than cattle ?
(c(Q15709879)|c(Q11060274),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q830
relation P180
type Q15709879
type Q11060274
[[{'concept': 'Q15709879'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:P180 resource:Q830 . { VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } . ?l rdf:type ?i } } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } } GROUP BY ?j } }
cattle
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity cattle
relation depicts
type artwork series
type print
[[{'concept': 'artwork series'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:depicts resource:cattle . { VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:print ) } . ?l rdf:type ?i } } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:artwork_series ) ( ontology:print ) } } GROUP BY ?j } }
[]
name artwork series print
SYSTEM
5
Q5 Q726 Q3736439 Q144 Q43115
(c(Q15709879)|c(Q11060274),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q830
relation P180
type Q15709879
type Q11060274
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:P180 resource:Q830 . { VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } . ?l rdf:type ?i } } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } } GROUP BY ?j } }
human horse duck dog saint
5
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity cattle
relation depicts
type artwork series
type print
[[{'concept': 'artwork series'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:depicts resource:cattle . { VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:print ) } . ?l rdf:type ?i } } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:artwork_series ) ( ontology:print ) } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1703128 Q1255993
P27 P20
Q15617994
USER
Which administrative territories are the native countriesof Hideaki Mori or did the demise of Jonathan Christoph Berthold occur ?
OR((Q1255993,P27,c(Q15617994)), (Q1703128,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1255993
relation P27
action find
entity Q1703128
relation P20
type Q15617994
{'OR': [['Q1255993', 'P27', {'concept': 'Q15617994'}], ['Q1703128', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1255993 property:P27 ?o } UNION { resource:Q1703128 property:P20 ?o } } . ?o rdf:type ontology:Q15617994 }
Jonathan Christoph Berthold Hideaki Mori
action filter_type
action union
action find
entity Hideaki Mori
relation country of citizenship
action find
entity Jonathan Christoph Berthold
relation place of death
type designation for an administrative territorial entity
{'OR': [['Hideaki Mori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jonathan Christoph Berthold', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Hideaki_Mori property:country_of_citizenship ?o } UNION { resource:Jonathan_Christoph_Berthold property:place_of_death ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q502467
SYSTEM
Japan, Oderwitz
Q17 Q502467
OR((Q1255993,P27,c(Q15617994)), (Q1703128,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1255993
relation P27
action find
entity Q1703128
relation P20
type Q15617994
[ANSWERS] are the native countriesof Hideaki Mori or did the demise of Jonathan Christoph Berthold occur
{'OR': [['Q1255993', 'P27', {'concept': 'Q15617994'}], ['Q1703128', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1255993 property:P27 ?o } UNION { resource:Q1703128 property:P20 ?o } } . ?o rdf:type ontology:Q15617994 }
Japan Oderwitz
Japan and Oderwitz are the native countriesof Hideaki Mori or did the demise of Jonathan Christoph Berthold occur
Japan Oderwitz
action filter_type
action union
action find
entity Hideaki Mori
relation country of citizenship
action find
entity Jonathan Christoph Berthold
relation place of death
type designation for an administrative territorial entity
{'OR': [['Hideaki Mori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jonathan Christoph Berthold', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Hideaki_Mori property:country_of_citizenship ?o } UNION { resource:Jonathan_Christoph_Berthold property:place_of_death ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]