Simple Question (Direct)
Simple Question
Q16096920
P27
Q15617994
USER
Which administrative territory does Joe Christopher belong to ?
(Q16096920,P27,c(Q15617994))
action filter_type
action find
entity Q16096920
relation P27
type Q15617994
['Q16096920', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16096920 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Joe Christopher
action filter_type
action find
entity Joe Christopher
relation country of citizenship
type designation for an administrative territorial entity
['Joe Christopher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Joe_Christopher property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16096920,P27,c(Q15617994))
action filter_type
action find
entity Q16096920
relation P27
type Q15617994
Joe Christopher belongs to [ANSWER]
['Q16096920', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16096920 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
Joe Christopher belongs to United States of America
United States of America
action filter_type
action find
entity Joe Christopher
relation country of citizenship
type designation for an administrative territorial entity
['Joe Christopher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Joe_Christopher property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P921
Q838948
USER
Which works of art have that administrative territory as their main topic ?
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q30 . ?z rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:United_States_of_America . ?z rdf:type ontology:work_of_art }
[]
work of art
Q3201948 Q5225923 Q5652328
SYSTEM
America As Seen by a Frenchman, Darwin, Happiness Is
Q7714895 Q5567488 Q7759774 Q7990968 Q7156451 Q5652328 Q12126242 Q16997904 Q7501322 Q3201948 Q5225923 Q7598480 Q7769252
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
America As seen by a Frenchman, Darwin and Happiness Is have that administrative territory as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q30 . ?z rdf:type ontology:Q838948 }
The Augustas Gleeful: The Real Show Choirs of America The Recess Ends What America Needs Pax Americana and the Weaponization of Space Happiness Is Money-Driven Medicine Mirage Men Shore Things America As Seen by a Frenchman Darwin Standing Army The Tiger Next Door
America As seen by a Frenchman, Darwin and Happiness Is have that administrative territory as their main topic
America As Seen by a Frenchman Darwin Happiness Is
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:United_States_of_America . ?z rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5652328
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q5652328,P136,c(Q1792379))
action filter_type
action find
entity Q5652328
relation P136
type Q1792379
['Q5652328', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q5652328 property:P136 ?l }
Happiness Is
action filter_type
action find
entity Happiness Is
relation genre
type art genre
['Happiness Is', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:Happiness_Is property:genre ?l }
[]
art genre
Clarification for simple ques.
Q5225923
SYSTEM
Did you mean Darwin ?
Q3201948 Q5225923 Q5652328
(Q3201948,P136,c(Q1792379)) (Q5225923,P136,c(Q1792379)) (Q5652328,P136,c(Q1792379))
[ANSWER]
['Q3201948', 'P136', {'concept': 'Q1792379'}] ['Q5225923', 'P136', {'concept': 'Q1792379'}] ['Q5652328', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q5652328 property:P136 ?l }
America As Seen by a Frenchman Darwin Happiness Is
Did you mean Darwin ?
Darwin
['America As Seen by a Frenchman', 'genre', {'concept': 'art genre'}] ['Darwin', 'genre', {'concept': 'art genre'}] ['Happiness Is', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:Happiness_Is property:genre ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Happiness Is. Could you tell me the answer for that?
(Q5652328,P136,c(Q1792379))
Q5652328
['Q5652328', 'P136', {'concept': 'Q1792379'}]
['Happiness Is', 'genre', {'concept': 'art genre'}]
[]
Q93204
SYSTEM
documentary film
Q93204
(Q5652328,P136,c(Q1792379))
action filter_type
action find
entity Q5652328
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q5652328', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q5652328 property:P136 ?l }
documentary film
Documentary film can be considered as category for that work of art
documentary film
action filter_type
action find
entity Happiness Is
relation genre
type art genre
['Happiness Is', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:Happiness_Is property:genre ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q1792379 Q21114848
USER
How many art genres do more number of magazine genres belong to than that art genre ?
(c(Q21114848),P101,c(Q1792379))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q1792379
type Q21114848
action count
action filter_type
action find
entity Q93204
relation P101
type Q1792379
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P101 ?v . ?v rdf:type ontology:Q1792379 . ?i rdf:type ontology:Q21114848 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:Q93204 property:P101 ?b . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?t > ?n ) }
action count
action greater
action find_reverse_tuple_counts
relation field of work
type art genre
type magazine genre
action count
action filter_type
action find
entity documentary film
relation field of work
type art genre
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:field_of_work ?v . ?v rdf:type ontology:art_genre . ?i rdf:type ontology:magazine_genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:documentary_film property:field_of_work ?b . ?b rdf:type ontology:art_genre } } . FILTER ( ?t > ?n ) }
[]
art genre magazine genre
SYSTEM
1
Q58854
(c(Q21114848),P101,c(Q1792379))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q1792379
type Q21114848
action count
action filter_type
action find
entity Q93204
relation P101
type Q1792379
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P101 ?v . ?v rdf:type ontology:Q1792379 . ?i rdf:type ontology:Q21114848 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:Q93204 property:P101 ?b . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?t > ?n ) }
literary criticism
1
action count
action greater
action find_reverse_tuple_counts
relation field of work
type art genre
type magazine genre
action count
action filter_type
action find
entity documentary film
relation field of work
type art genre
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:field_of_work ?v . ?v rdf:type ontology:art_genre . ?i rdf:type ontology:magazine_genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:documentary_film property:field_of_work ?b . ?b rdf:type ontology:art_genre } } . FILTER ( ?t > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q895526 . resource:Q30 property:P1313 ?s }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:authority_organ . resource:United_States_of_America property:office_held_by_head_of_government ?s }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q895526 . resource:Q30 property:P1313 ?s }
President of the United States of America
The President of the United States of America serves as the political office that is fulfilled by the head of the government of United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:authority_organ . resource:United_States_of_America property:office_held_by_head_of_government ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P610
Q14524493
USER
Which terrain is the highest point of United States of America ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
[ANSWER] is the highest point of United States of America
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Denali
Denali is the highest point of United States of America
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:highest_point ?n . ?n rdf:type ontology:terrain }
[]