Simple Question (Direct)
Simple Question
Q5057048
P144
Q15416
USER
Which television program is Cedie a fork of ?
(Q5057048,P144,c(Q15416))
action filter_type
action find
entity Q5057048
relation P144
type Q15416
['Q5057048', 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { resource:Q5057048 property:P144 ?z . ?z rdf:type ontology:Q15416 }
Cedie
action filter_type
action find
entity Cedie
relation based on
type television program
['Cedie', 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { resource:Cedie property:based_on ?z . ?z rdf:type ontology:television_program }
[]
television program
Q702061
SYSTEM
Little Lord Fauntleroy
Q702061
(Q5057048,P144,c(Q15416))
action filter_type
action find
entity Q5057048
relation P144
type Q15416
[ANSWER] is Cedie a fork of
['Q5057048', 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { resource:Q5057048 property:P144 ?z . ?z rdf:type ontology:Q15416 }
Little Lord Fauntleroy
Little Lord Fauntleroy is Cedie a fork of
Little Lord Fauntleroy
action filter_type
action find
entity Cedie
relation based on
type television program
['Cedie', 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { resource:Cedie property:based_on ?z . ?z rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q702061
P136
Q20087698
USER
What can be considered as category for that television program ?
(Q702061,P136,c(Q20087698))
action filter_type
action find
entity Q702061
relation P136
type Q20087698
['Q702061', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?b WHERE { resource:Q702061 property:P136 ?b . ?b rdf:type ontology:Q20087698 }
Little Lord Fauntleroy
action filter_type
action find
entity Little Lord Fauntleroy
relation genre
type comic genre
['Little Lord Fauntleroy', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?b WHERE { resource:Little_Lord_Fauntleroy property:genre ?b . ?b rdf:type ontology:comic_genre }
[]
comic genre
Q15637299
SYSTEM
drama anime and manga
Q15637299
(Q702061,P136,c(Q20087698))
action filter_type
action find
entity Q702061
relation P136
type Q20087698
And [ANSWER] can be considered as category for that television program
['Q702061', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?b WHERE { resource:Q702061 property:P136 ?b . ?b rdf:type ontology:Q20087698 }
drama anime and manga
And drama anime and manga can be considered as category for that television program
drama anime and manga
action filter_type
action find
entity Little Lord Fauntleroy
relation genre
type comic genre
['Little Lord Fauntleroy', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?b WHERE { resource:Little_Lord_Fauntleroy property:genre ?b . ?b rdf:type ontology:comic_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5057048
P161
Q502895
USER
Who were casted in Cedie ?
(Q5057048,P161,c(Q502895))
action filter_type
action find
entity Q5057048
relation P161
type Q502895
['Q5057048', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5057048 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Cedie
action filter_type
action find
entity Cedie
relation cast member
type common name
['Cedie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Cedie property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
common name
Q6767748 Q6118150 Q7630827
SYSTEM
Mark Gil, Jaclyn Jose, Subas Herrero
Q7630827 Q6118150 Q3544160 Q7809705 Q2520221 Q12970124 Q7796954 Q6767748
(Q5057048,P161,c(Q502895))
action filter_type
action find
entity Q5057048
relation P161
type Q502895
[ANSWERS] were casted in Cedie
['Q5057048', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5057048 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Subas Herrero Jaclyn Jose Carlo Aquino Tita de Villa Anita Linda Ronaldo Valdez Thou Reyes Mark Gil
Mark Gil, Jaclyn Jose and Subas Herrero were casted in Cedie
Mark Gil Jaclyn Jose Subas Herrero
action filter_type
action find
entity Cedie
relation cast member
type common name
['Cedie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Cedie property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6118150
P25
Q502895
USER
Who has that one as a mother ?
(c(Q502895),P25,Q6118150)
action filter_type
action find_reverse
entity Q6118150
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q6118150']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q6118150 . ?q rdf:type ontology:Q502895 }
Jaclyn Jose
action filter_type
action find_reverse
entity Jaclyn Jose
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Jaclyn Jose']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Jaclyn_Jose . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6118150
SYSTEM
Did you mean Jaclyn Jose ?
Q6767748 Q6118150 Q7630827
(c(Q502895),P25,Q6767748) (c(Q502895),P25,Q6118150) (c(Q502895),P25,Q7630827)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q6767748'] [{'concept': 'Q502895'}, 'P25', 'Q6118150'] [{'concept': 'Q502895'}, 'P25', 'Q7630827']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q6118150 . ?q rdf:type ontology:Q502895 }
Mark Gil Jaclyn Jose Subas Herrero
Did you mean Jaclyn Jose ?
Jaclyn Jose
[{'concept': 'common name'}, 'mother', 'Mark Gil'] [{'concept': 'common name'}, 'mother', 'Jaclyn Jose'] [{'concept': 'common name'}, 'mother', 'Subas Herrero']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Jaclyn_Jose . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P25,Q6118150)
[{'concept': 'Q502895'}, 'P25', 'Q6118150']
[{'concept': 'common name'}, 'mother', 'Jaclyn Jose']
[]
Q4754421
SYSTEM
Andi Eigenmann
Q4754421
(c(Q502895),P25,Q6118150)
action filter_type
action find_reverse
entity Q6118150
relation P25
type Q502895
[ANSWER] has that one as a mother
[{'concept': 'Q502895'}, 'P25', 'Q6118150']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q6118150 . ?q rdf:type ontology:Q502895 }
Andi Eigenmann
Andi Eigenmann has that one as a mother
Andi Eigenmann
action filter_type
action find_reverse
entity Jaclyn Jose
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Jaclyn Jose']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Jaclyn_Jose . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6767748
P20
Q515
USER
Which city is the place of death of Mark Gil ?
(Q6767748,P20,c(Q515))
action filter_type
action find
entity Q6767748
relation P20
type Q515
['Q6767748', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q6767748 property:P20 ?a . ?a rdf:type ontology:Q515 }
Mark Gil
action filter_type
action find
entity Mark Gil
relation place of death
type city
['Mark Gil', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Mark_Gil property:place_of_death ?a . ?a rdf:type ontology:city }
[]
city
Q1461
SYSTEM
Manila
Q1461
(Q6767748,P20,c(Q515))
action filter_type
action find
entity Q6767748
relation P20
type Q515
[ANSWER] is the place of death of Mark Gil
['Q6767748', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q6767748 property:P20 ?a . ?a rdf:type ontology:Q515 }
Manila
Manila is the place of death of Mark Gil
Manila
action filter_type
action find
entity Mark Gil
relation place of death
type city
['Mark Gil', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Mark_Gil property:place_of_death ?a . ?a rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1461
P504
Q2235308
USER
Which ship types have that city as their home port ?
(c(Q2235308),P504,Q1461)
action filter_type
action find_reverse
entity Q1461
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q1461']
SELECT DISTINCT ?s WHERE { ?s property:P504 resource:Q1461 . ?s rdf:type ontology:Q2235308 }
Manila
action filter_type
action find_reverse
entity Manila
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Manila']
SELECT DISTINCT ?s WHERE { ?s property:home_port resource:Manila . ?s rdf:type ontology:ship_type }
[]
ship type
Q4836436 Q4836393
SYSTEM
BRP Ramon Alcaraz, BRP Ang Pangulo
Q4836436 Q4836393
(c(Q2235308),P504,Q1461)
action filter_type
action find_reverse
entity Q1461
relation P504
type Q2235308
[ANSWERS] have that city as their home port
[{'concept': 'Q2235308'}, 'P504', 'Q1461']
SELECT DISTINCT ?s WHERE { ?s property:P504 resource:Q1461 . ?s rdf:type ontology:Q2235308 }
BRP Ramon Alcaraz BRP Ang Pangulo
BRP Ramon Alcaraz and BRP Ang Pangulo have that city as their home port
BRP Ramon Alcaraz BRP Ang Pangulo
action filter_type
action find_reverse
entity Manila
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Manila']
SELECT DISTINCT ?s WHERE { ?s property:home_port resource:Manila . ?s rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1461
P740
Q43229 Q2088357
USER
How many organizations and musical ensembles were formed at Manila ?
(c(Q43229),P740,Q1461) (c(Q2088357),P740,Q1461)
action count
action union
action filter_type
action find_reverse
entity Q1461
relation P740
type Q43229
action filter_type
action find_reverse
entity Q1461
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q1461'] [{'concept': 'Q2088357'}, 'P740', 'Q1461']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } }
Manila
action count
action union
action filter_type
action find_reverse
entity Manila
relation location of formation
type organization
action filter_type
action find_reverse
entity Manila
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Manila'] [{'concept': 'musical ensemble'}, 'location of formation', 'Manila']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:musical_ensemble ) } }
[]
organization musical ensemble
SYSTEM
37 organizations and 13 musical ensembles
Q7903928 Q4836259 Q7679618 Q1657945 Q5327595 Q6050332 Q7194059 Q934489 Q4854129 Q7391503 Q6971094 Q792735 Q7446786 Q6462244 Q3543983 Q7304608 Q15052748 Q7185164 Q1994975 Q6939875 Q7487635 Q4553518 Q5421102 Q7543955 Q7184974 Q4854089 Q1925799 Q2501256 Q5484488 Q5063192 Q644167 Q1657971 Q7638223 Q5276012 Q7885403 Q7391498 Q514147 Q5529757 Q5105279 Q6717450 Q5205605 Q7184995 Q7185272 Q16950544 Q4732555 Q7887615 Q5421677 Q7339070 Q5532006 Q7227074
(c(Q43229),P740,Q1461) (c(Q2088357),P740,Q1461)
action count
action union
action filter_type
action find_reverse
entity Q1461
relation P740
type Q43229
action filter_type
action find_reverse
entity Q1461
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q1461'] [{'concept': 'Q2088357'}, 'P740', 'Q1461']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } }
Viva Hot Babes BPI Direct Savings Bank Talk 'N Text Al-Amanah Islamic Investment Bank of the Philippines EastWest Bank International Exchange Bank Pilipino Telephone Corporation San Miguel Corporation Banco de Oro Universal Bank SM Prime Holdings National Book Store Ayala Land Seiko Films La Diva Globe Telecom Red Mobile Eurasia (musical group) Philippine National Construction Corporation Ayala Corporation Mus'ka Shamrock 17:28 Experimental Cinema of the Philippines Smart Communications Philippine Bank of Communications Banco Filipino Metropolitan Bank and Trust Company Bank of the Philippine Islands Franco Century Properties PLDT Philippine National Bank Sun Cellular Digital Telecommunications Philippines Union Bank of the Philippines SM Investments Corporation The Camerawalls Gee Girls Chorus Philippines MRC Allied Inc. DMCI Homes Philippine Business Bank Philippine Veterans Bank Mapua Cardinal Singers Allied Bank United Coconut Planters Bank Express Telecom Rizal Commercial Banking Corporation General Luna Polytechnic University of the Philippines Laboratory High School Chorale
37 organizations and 13 musical ensembles
action count
action union
action filter_type
action find_reverse
entity Manila
relation location of formation
type organization
action filter_type
action find_reverse
entity Manila
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Manila'] [{'concept': 'musical ensemble'}, 'location of formation', 'Manila']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:musical_ensemble ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q6619679 Q502895 Q15416
USER
How many television programs are exactly 1 fictional humanoids and people a character of ?
(c(Q15416),P674,c(Q6619679)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P674
type Q15416
type Q6619679
action find_tuple_counts
relation P674
type Q15416
type Q502895
value 1
[{'concept': 'Q15416'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } GROUP BY ?l } . FILTER ( ?a = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation characters
type television program
type fictional humanoid
action find_tuple_counts
relation characters
type television program
type common name
value 1
[{'concept': 'television program'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } GROUP BY ?l } . FILTER ( ?a = 1 ) }
[]
fictional humanoid common name television program
SYSTEM
11
Q511091 Q6735575 Q3281789 Q208647 Q304290 Q3278089 Q11889740 Q1248825 Q431795 Q3436377 Q3771059
(c(Q15416),P674,c(Q6619679)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P674
type Q15416
type Q6619679
action find_tuple_counts
relation P674
type Q15416
type Q502895
value 1
[ANSWER]
[{'concept': 'Q15416'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } GROUP BY ?l } . FILTER ( ?a = 1 ) }
Le inchieste del commissario Maigret Maigret Saturday Supercade Married... with Children Rugrats Maigret Raid Quatermass II Studio 60 on the Sunset Strip Maigret St. Giuseppe Moscati: Doctor to the Poor
11
action count
action equal
action union
action find_tuple_counts
relation characters
type television program
type fictional humanoid
action find_tuple_counts
relation characters
type television program
type common name
value 1
[{'concept': 'television program'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } GROUP BY ?l } . FILTER ( ?a = 1 ) }
[]