Simple Question (Direct)
Simple Question
Q5569019
P641
Q349
USER
What did Glenn Mulcaire participate in ?
(Q5569019,P641,c(Q349))
action filter_type
action find
entity Q5569019
relation P641
type Q349
['Q5569019', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5569019 property:P641 ?e . ?e rdf:type ontology:Q349 }
Glenn Mulcaire
action filter_type
action find
entity Glenn Mulcaire
relation sport
type sport
['Glenn Mulcaire', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Glenn_Mulcaire property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5569019,P641,c(Q349))
action filter_type
action find
entity Q5569019
relation P641
type Q349
Glenn Mulcaire participated in [ANSWER]
['Q5569019', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5569019 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Glenn Mulcaire participated in association football
association football
action filter_type
action find
entity Glenn Mulcaire
relation sport
type sport
['Glenn Mulcaire', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Glenn_Mulcaire property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5569019
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q5569019
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5569019 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Glenn Mulcaire
action filter_type
action find
entity Glenn Mulcaire
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Glenn_Mulcaire property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q5569019
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5569019 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Glenn Mulcaire
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Glenn_Mulcaire property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5569019
P106
Q12737077
USER
What is the job of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5569019
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5569019 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Glenn Mulcaire
action filter_type
action find
entity Glenn Mulcaire
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Glenn_Mulcaire property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5569019
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5569019 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Glenn Mulcaire
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Glenn_Mulcaire property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
How many occupations are the area of more number of people and organizations than that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q43229 } UNION { ?l property:P101 ?o . ?l rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } . FILTER ( ?r > ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P101 resource:Q937857 . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:field_of_work ?o . ?o rdf:type ontology:occupation . ?l rdf:type ontology:organization } UNION { ?l property:field_of_work ?o . ?l rdf:type ontology:common_name . ?o rdf:type ontology:occupation } } GROUP BY ?o } . FILTER ( ?r > ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:field_of_work resource:association_football_player . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:organization ) } } } } }
[]
occupation common name organization
SYSTEM
28
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q502895)|c(Q43229),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q43229 } UNION { ?l property:P101 ?o . ?l rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } . FILTER ( ?r > ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P101 resource:Q937857 . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
28
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:field_of_work ?o . ?o rdf:type ontology:occupation . ?l rdf:type ontology:organization } UNION { ?l property:field_of_work ?o . ?l rdf:type ontology:common_name . ?o rdf:type ontology:occupation } } GROUP BY ?o } . FILTER ( ?r > ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:field_of_work resource:association_football_player . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:organization ) } } } } }
[]